You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to send a PUT/POST request using SHAFT's Request builder query params are not added to the request if the request also has a body.
If the request does not have a body, then query params are added.
To Reproduce
Steps to reproduce the behavior:
Build a POST/PUT request with anything in the body (but not null) and some query params (again, not null)
Send the request
Expected behavior
Request is sent with both body and query params.
Actual behavior
Request is sent only with body.
The text was updated successfully, but these errors were encountered:
Can you share a snippet of native code that's working for you dear?
Usually only one of the three is used. Form parameters, query parameters or body. So this was actually by design from our side and not a bug
But if we understand the reasoning we can enhance it
Describe the bug
When trying to send a PUT/POST request using SHAFT's Request builder query params are not added to the request if the request also has a body.
If the request does not have a body, then query params are added.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Request is sent with both body and query params.
Actual behavior
Request is sent only with body.
The text was updated successfully, but these errors were encountered: