Field | Description |
payload | Binary or dictionary payload to submit with the request. |
metadata.requestId | Required. A request ID (string) to include in the response. |
metadata.http.method | Required. The HTTP method to use: GET, POST, PUT or DELETE. |
metadata.http.path | Required. URI (string) on the host to submit the request to. |
metadata.concurrencyControlKey | Only used when the numClients configuration option is greater than 1 for this instance of the HTTP client transport. Serializes all requests with the given key. The key can be set to one of the following: Empty, unset or the empty string (""): no waiting for any other requests to complete (default). Any other value: this request waits until any earlier requests with the same key have completed and causes any later requests with the same key to wait until it has completed. This means that only one request can be in-progress at a time for a given concurrency control key. Note: While any type of value is supported in the concurrencyControlKey, it is recommended to only use string or integer types. For examples and use in conjunction with concurrencyControlFlush, see also
Executing HTTP requests concurrently. |
metadata.concurrencyControlFlush | Evaluates to true or false: false (or empty, unset, empty string (""), "false" string): no waiting for any other requests to complete (default). Any other value: delays this request from starting until all earlier requests have completed (regardless of concurrencyControlKey). Note that later requests are permitted to start while the flush-enabled request is still executing. For examples and use in conjunction with concurrencyControlKey, see also
Executing HTTP requests concurrently. |
metadata.http.headers.content-encoding | The Content-Encoding to be applied to the entity-body. This can be one of the following: gzip, deflate or identity. When an unsupported content encoding is specified, the HTTP request is ignored and an error message is logged. |
metadata.http.headers.keyname | An HTTP header (string) to set in the request. See also
Handling HTTP headers. |
metadata.http.cookies.keyname | An HTTP cookie (string) to set in the request. See also
Dealing with cookies. |
metadata.http.queryString.keyname | An HTTP query parameter (string) to be encoded as part of the path in the URI. See also
Providing HTTP query parameters. |
metadata.charset | Describes the format of the payload (string). See also
Handling HTTP headers. |
metadata.contentType | Describes the format of the payload (string). See also
Handling HTTP headers. |
metadata.http.form.name.contentType | The media type of the form data. See also
Handling HTML form encoding. |
metadata.http.form.name.charset | The encoding of the form data. See also
Handling HTML form encoding. |
metadata.http.form.name.filename | The file name of the form data. See also
Handling HTML form encoding. |
Field | Description |
payload | Binary payload received in the response. May be an empty buffer if no response, or null in some error cases. |
metadata.requestId | The request ID (string) from the request. Always present in the response. |
metadata.http.method | The HTTP method from the request: GET, POST, PUT or DELETE. Always present in the response. |
metadata.http.path | The HTTP path (string) from the request. Always present in the response. |
metadata.http.statusCode | HTTP status code (integer). Code 200 indicates success. All other codes indicate errors. Always present in the response. See also
Distinguishing response types. |
metadata.http.statusReason | HTTP status reason (string). Always present in the response. |
metadata.http.headers.keyname | The HTTP header (string) returned by the response. See also
Handling HTTP headers. |
metadata.http.cookies.keyname | An HTTP cookie (string) being set by the response. Only present if this is in the response headers. See also
Dealing with cookies. |
metadata.charset | Describes the format of the payload (string). Only present if this is in the response headers. See also
Handling HTTP headers. |
metadata.contentType | Describes the format of the payload (string). Only present if this is in the response headers. See also
Handling HTTP headers. |