Closed scooper91 closed 6 years ago
Ah - not sure if this is a trivial fix as:
shows that it may convert params to a post body by default (i.e. when no contenttype specified).
I'll try and write a test for a "querystring param passed and payload sent in application/json" use case, as there isn't one as far as I can see. Also, "when parameters are provided the Payload is dropped out of the request." sounds like a bug to me.
Looks like the api itself does not support this as when attempting I get the following back from the api:
OAuth authentication error: Query string parameters are not permitted when performing HTTP Post. Please use Post body or header.
The
RequestBuilder
only supports usingWithPayload
orWithParameter
. When parameters are provided the Payload is dropped out of the request.In some circumstances it would be useful to be able to use both.