How to configure Postman to send Content-Type: application/json
header on every request
CodePudding user response:
I found the following solution in a blogpost post which consists of adding a pre-request script to my collections/folder/request.
pm.request.headers.add({
key: "Accept",
value: "application/json"
});