Answers for "postman variables header"

PHP
1

set postman global variable header

// set postman global variable in header
pm.request.headers.add({key: 'CustomHeader', value: 'CustomValue' });

pm.request.headers.add({key: 'Content-Type', value: 'application/json' });
Posted by: Guest on August-05-2021
0

Postman Variables

just like variables in Java. 
we can create variables in postman to reuse the value 
1.Global variables: accessible everywhere in same workspace 
2.Environment variables: accessible in selected environment 
3.Collection Variables: belong to the collection itself and 
only accessible within the collection
Posted by: Guest on May-28-2021

Browse Popular Code Answers by Language