Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Postman - How to see request with headers and body data with variables substituted

Tags:

postman

I am using the Postman Chrome plugin to invoke HTTP requests for software testing. I use the Environments feature with Environment and Global Variables to substitute variables in my requests headers and body.

The variable substitution is working correctly (I can tell as the responses from the HTTP Server indicate that).

However, I would like to be able to see the Request Header and Body values AFTER the variables have been substituted. How can I do that?

like image 744
MattG Avatar asked Oct 10 '22 12:10

MattG


1 Answers

As of now, Postman comes with its own "Console." Click the terminal-like icon on the bottom left to open the console. Send a request, and you can inspect the request from within Postman's console.

enter image description here

like image 167
borislemke Avatar answered Oct 12 '22 19:10

borislemke