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 I call this request header Content-Type: application/x-www-form-urlencoded is missing and body data is JSON formatted {param1=.., param2=..} instead of: param1=..,param2=..
this is the fetch request in my generated code. Body is always JSON string
I have POST Endpoint from WS that accept application/x-www-form-urlencoded
and generated React client
When I call this request header Content-Type: application/x-www-form-urlencoded is missing and body data is JSON formatted {param1=.., param2=..} instead of: param1=..,param2=..
this is the fetch request in my generated code. Body is always JSON string
My ugly quickfix is:
source: https://stackoverflow.com/a/37562814/2285631
The text was updated successfully, but these errors were encountered: