Huachao / vscode-restclient

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

Execute powershell or commands #735

Open BartNetJS opened 3 years ago

BartNetJS commented 3 years ago

It would be interesting to execute powershell, bash or cmd command inline the http files Is anyone interested in that

nikhilgirraj commented 3 years ago

Would be useful. My use case is to fetch an API key from an Azure key vault and use that to access rest endpoints.

chermed commented 1 year ago

Same here:

it will be very useful if we can do something like:

Content-Type: application/json
Accept: application/json
Authorization: Bearer {{!gcloud auth print-identity-token}}

therefore we can do :

@token = {{!gcloud auth print-identity-token}}
...
Content-Type: application/json
Accept: application/json
Authorization: Bearer {{token}}