yaade icon indicating copy to clipboard operation
yaade copied to clipboard

Code generation should set appropriate Content-type header

Open n14s opened this issue 1 year ago • 1 comments

When sending a request through yaade, the Contest-type header is automatically set, at least in case of application/json. The generated code should also include the Content-type header, otherwise a command eg. shell wget might fail with an error of a missing Contest-type header.

n14s avatar Jul 25 '24 08:07 n14s

we don't set automatic headers. You can always set the header in the "body" tab by clicking "Set Header" next to the content type dropdown.

jonrosner avatar Jul 25 '24 13:07 jonrosner