smartbearuser43
4 years agoRegular Visitor
DELETE Method Without Content-Type Header?
Is it possible to create a DELETE request (either HTTP or REST) without having to supply a Media Type from the dropdown? I need to omit the Content-Type header in my request.
Thanks
- Hey smartbearuser43,
Do you have a payload associated to your DELETE request?
If you havent got a payload, then if you remove the value 'application/json' from the MediaType combo box (editable dropdown) so there is no value in the field and then resubmit your request, the Content-Type header is not dynamically generated....i.e. your request wont have the Content-Type header anymore.
Cheers
Rich