UrlFormTransport is a Transport that will encode request values in the queryString, by
default encoding the values in the request object in JSON. If the request is of a primitive
non-object type, it will be encoded with the URL_FORM_DATA_KEY - that is, a request
of {"foo": "bar"} will become ?foo=%20bar%20, but a request of "foo" will become
?_es_data=%20foo%20. If you don't want JSON-encoded values, set rawStrings
to true. Default transport used with the "GET" method
Type declaration
Optional rawStrings?: boolean
set rawStrings to not JSON-encode values in the request object - is not necessarily typesafe!
UrlFormTransport is a Transport that will encode request values in the queryString, by default encoding the values in the request object in JSON. If the request is of a primitive non-object type, it will be encoded with the URL_FORM_DATA_KEY - that is, a request of {"foo": "bar"} will become
?foo=%20bar%20, but a request of "foo" will become?_es_data=%20foo%20. If you don't want JSON-encoded values, set rawStrings to true. Default transport used with the "GET" method