sajad torkamani

Click on a folder/collection.

Go to the Pre-request Script tab and add something like:

pm.request.headers.add({ 
    key: 'X-API-KEY', value: 
    pm.globals.get('API_KEY')
});

Tagged: Postman

Leave a comment

Your email address will not be published. Required fields are marked *