The pm.request.headers.delete function does not exist


it mentions the existance of a pm.request.headers.delete([key]), however the correct call is pm.request.headers.remove([key]).

Should be changed to the correct value imo.

Thanks in advance.

1 Like

Thanks for reporting @arvidslump! I will look into this. FYI the docs repo is actually open source so you are more than welcome to get involved on there. You can create issues for problems like this or even contribute to the content if that’s something you’re interested in. :slightly_smiling_face:

1 Like

Hey @arvidslump

Thanks for reporting this to us! :trophy:

I’ve included this change as well as a couple of other fixes in this PR :smile: Updated file to include missing pm.* API methods by DannyDainton · Pull Request #2200 · postmanlabs/postman-docs · GitHub

1 Like

Thanks, good stuff!!!