How to update environment variables based on a response in Postman | Chaining Requests
Вставка
- Опубліковано 11 сер 2021
- Sometimes, the response from a request is required first in order to continue with all the other API requests currently stored in your Postman folders. Think of a request that, in order to return results, it requires from you to be authenticated, so a typical workflow would be:
authenticate yourself with a proper username and password;
get an authentication token;
update your other requests to use this new token.
To avoid updating manually all your request headers with the new auth token, you can use environments and variables in Postman.
Join this channel to get access to perks and giveaways:
/ @codespace
----------------------------------------
⚙️Gears used⚙️
DJI Osmo Mobile 3 Handheld Smartphone Gimbal (Grey) : amzn.to/3bzeIZo
Boya BYM1 Omnidirectional Lavalier Condenser Microphone with 20ft Audio Cable (Black) : amzn.to/2DCUm4U
Canon EOS 200D II 24.1MP Digital SLR Camera + EF-S 18-55mm f4 is STM Lens (Black) : amzn.to/3buyx3T
Samsung Galaxy S20 (Cosmic Gray, 8GB RAM, 128GB Storage) with No Cost EMI/Additional Exchange Offers : amzn.to/3bssa12
Benro T880EX Digital Tripod Kit : amzn.to/3bzGzsb
HP Envy 15-ep0123TX 15.6" (39.62cms) Laptop (10th Gen i7-10750H/16GB/1TB SSD/Windows 10 Home/NVIDIA 1660Ti 6 GB Graphics), Natural Silver : amzn.to/3fX8k1a
Logitech MK345 Wireless Combo - Full-Sized Keyboard with Palm Rest and Comfortable Right-Handed Mouse : amzn.to/3bD13Aw
------------------------------------------------
Follow me on:
❤️ UA-cam : ua-cam.com/users/codespace?sub_con...
❤️ Facebook : / e.codespace
❤️ LinkedIn : / gourabpaul
❤️ Twitter : / gourab_p
-----------------------------------------------
#postman #postmanEnv
#workFromHome #workForHome - Наука та технологія
I am in networking and do not use postman so often. never automation, but had to try it to test a customer issue.
i encountered all the errors you faced here since last couple of weeks and I was able to relate each error as it happened to you, but finally very happy that you found the solution which worked for me too
This was good thank you! For the first few mins, I was thinking if I was on the right channel or not? ;-)
My pleasure 😊
Thank you for your explanation! You're GREAT!!!
My pleasure 😊
Thanks, bro you have explained very well and very helpful
My pleasure. Please do support me by subscribing to my other youtube channel oyekool ua-cam.com/users/oyekool
Thanks, just what I needed.
If I have two different collections and two different environments, I want to connect the 1st collection with the 1st environment and the 2nd collection with the 2nd environment for all time. Is this possible?
Hi bro.. work area setup is nice👍.. especially the chair...
Thanks bru ☺️
How do you save response variables from the Outh connection response? I can only get this working on other requests after the Oauth connection.
This script only needs to run if it's recognized as OauthHeader that way it does not throw off other requests. Greatly appreciate a sample of saving Oath connection response. Thanks.
exactly the same way. are you lost?
I recommend using a lower resolution on the monitor because the fonts are so small it is difficult to see.
Noted. Thanks for your feedback 🙂
Thanks!
My pleasure 😊
Hi bro, I am planning to buy new monitor for my wfh setup....I am little confused whether intellij eclipse ide supports high resolution and wide screen...can you suggest some good monitors...and which model you are using it? Thank you.
Budget! And inch! And any port specifications
@@codespace budget between 15k to 35k...hdmi..inches 24 minimum...
I am using hp 27m. But i will suggest dell which has type c port
Dell 27 USB-C Monitor: P2719HC www.amazon.in/dp/B07GDR6TJJ/ref=cm_sw_r_apan_glt_fabc_X03YSYYZYFE9PVMY9EN7
@@codespace Ok. Thank you. Thanks for your time spent. 👍
thanks for the help
My pleasure 😊
it help me also.
01:48 still talking about his setup
Are going to talk about your home or Postman?
😄
show!
🤔
OMG get to the point
สุดจัด thank you