vscode-restclient
vscode-restclient copied to clipboard
Output or Print response or value of variable (
How best to get the results of api call and output to console/window to ensure the value is correct?
Here I want to see the value of @sessionId Is this possible?
# @result
GET {{hostname}}/start_session
content-type: application/json
Authorization: Basic {{username}}:{{password}}
@sessionId = {{result.body.$.session_Id}}
(how do i see the returned value from @sessionId)
Yes! I am also missing a way to print
or echo
the value of @sessionId (or whatever other variable I might be defining) , just so that I can visually validate that I have to proper value before I continue!
Also I believe this is very similar to #1001
Does this help: https://github.com/Huachao/vscode-restclient/issues/1001#issuecomment-2059477543