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

Arvid
Fri, 21 Feb 2020 10:15:49 +0000
Help Hub

source: https://learning.postman.com/docs/postman/scripts/postman-sandbox-api-reference/

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.

4 posts - 3 participants