Remove Access Header

Is there any way to prevent a header from being automatically added?

I have an API where “Accept” headers are not allowed on DELETE requests. Through curl, I can stop this header from being sent by adding -H 'Accept:'. I cannot see any such facility in Postman.

If I add an “Accept” header with no value, it is still included. Inspecting the curl that Postman generates shows that it actually adds -H 'Accept: ' (with a space value).

Any ideas? Is this possibly through Postman?

1 Like