// set postman global variable in header
pm.request.headers.add({key: 'CustomHeader', value: 'CustomValue' });
pm.request.headers.add({key: 'Content-Type', value: 'application/json' });
var data = JSON.parse(responseBody); postman.clearGlobalVariable("jwt_token"); postman.setGlobalVariable("jwt_token", data.jwt_token);