mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 16:07:15 +02:00
Allow query parameters in the connection's endpoint
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=227898246
This commit is contained in:
parent
a81d45fe5d
commit
9eaeab9cfe
3 changed files with 145 additions and 2 deletions
|
@ -102,8 +102,7 @@ class AppEngineConnection {
|
|||
private String internalSend(
|
||||
String endpoint, Map<String, ?> params, MediaType contentType, @Nullable byte[] payload)
|
||||
throws IOException {
|
||||
GenericUrl url = new GenericUrl(getServer());
|
||||
url.setRawPath(endpoint);
|
||||
GenericUrl url = new GenericUrl(String.format("%s%s", getServer(), endpoint));
|
||||
url.putAll(params);
|
||||
HttpRequest request =
|
||||
(payload != null)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue