The flow while working with variables currently goes like this: Some examples of common variables you would use with an API are session tokens and user IDs. Environment and global variables let you keep track of everything that affects the APIs state. One of them is extracting values from the response and saving it inside an environment or a global variable. This opens up a number of new possibilities. The pre-request and test scripts run inside a sandbox and Postman enable the Postman object to interact with the main Postman context. You can do practically anything in these scripts. Postman lets you write scripts that run before/after you receive a response from the server. Update: If you want to dig deeper into chaining requests, check out our related post called How to Make Money Using Postman: Chaining Requests.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |