https://serverless-stack.com/ logo
#random
Title
# random
s

Sam Hulick

09/22/2021, 3:27 PM
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

Adrián Mouly

09/22/2021, 3:37 PM
Can’t get rid of Postman 😰 .
r

Ross Coundon

09/22/2021, 4:34 PM
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

Sam Hulick

09/22/2021, 4:35 PM
it has multi envs and variables. so I can use
{{baseUrl}}
in the request URL.. or
{{token}}
in the auth header
r

Ross Coundon

09/22/2021, 4:58 PM
ah, cool. Can you set the likes of
{{token}}
dynamically, i.e. as a result of an API call to an auth endpoint?
s

Sam Hulick

09/22/2021, 4:58 PM
I don’t know if it can do that 🤔
r

Ross Coundon

09/22/2021, 5:22 PM
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

gligor

09/23/2021, 2:49 AM
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