[doc] transport#request(query) allows strings
This commit is contained in:
@ -9,7 +9,7 @@
|
||||
`String` -- The path/endpoint for the request
|
||||
|
||||
`query`::
|
||||
`Object` -- The query string params
|
||||
`String|Object` -- The query string params
|
||||
|
||||
`ignore`::
|
||||
`Number, Number[]` -- HTTP status codes which should not be treated as errors
|
||||
@ -18,4 +18,4 @@
|
||||
`Number` -- Milliseconds this request has to complete. The default can be set using the client's `requestTimeout:` config parameter.
|
||||
|
||||
`method`::
|
||||
`String` -- The HTTP method to use for this request. All of the API methods have their own default.
|
||||
`String` -- The HTTP method to use for this request. All of the API methods have their own default.
|
||||
|
||||
Reference in New Issue
Block a user