Huachao / vscode-restclient

REST Client Extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=humao.rest-client
MIT License
5.22k stars 436 forks source link

Reuse .rest call #713

Open carlosmedrano97 opened 3 years ago

carlosmedrano97 commented 3 years ago

I have a .rest file with my login implemented, is it possible to reuse this login call in other .rest files? My plan is to save that login call into a variable that will be shared on all the .rest files, I know that is environment variables, but I don't want to go the change that token into the file every time it expires

Do you have any ideas on how I can implement this?

vincekruger commented 3 years ago

This feature would also help me a lot. I have 3/4 authentication methods and over 50 GraphQL queries... my files are getting very large.

sethlivingston commented 2 years ago

This same feature is missing from just about every API/Rest tool out there. Would be a huge differentiator.