hey folks! just wanted to share my new favorite th...
# random
s
hey folks! just wanted to share my new favorite thing: https://marketplace.visualstudio.com/items?itemName=rangav.vscode-thunder-client IMO, Postman is too busy & cluttered if you just want to use it as a client to test your API. I was using Insomnia for a long time, then I tried their cloud sync feature and now it nags me every time I use it that my trial is over. Thunder Client runs within VS Code, and I can point it to Dropbox for its config files so it syncs to all my computers. 🙌
a
Can’t get rid of Postman 😰 .
r
I did play with this a while ago but it lacked a lot of stuff I needed like environments and dynamic variables/parameters but it might have improved since then
s
it has multi envs and variables. so I can use
{{baseUrl}}
in the request URL.. or
{{token}}
in the auth header
r
ah, cool. Can you set the likes of
{{token}}
dynamically, i.e. as a result of an API call to an auth endpoint?
s
I don’t know if it can do that 🤔
r
Right, in Postman I often use some Javascript in the Tests tab of the request to set some env vars as a result of the call so they can be used by other requests
g
I use https://paw.cloud - not sure if you guys have used it, but loving it for exactly this reason - it’s a paid app though, not sure if that’s a concern