vscode-restclient
vscode-restclient copied to clipboard
Add more logging
A lot of times, I run a request, go do something else, and can't remember which one I ran. I can go to the history to see, but it would be nice if all this was captured in the "OUTPUT" window.
Personally, I would love see the "OUTPUT" window record all request and responses, so I can see of stream of everything I've done. This should be configurable.
@MisinformedDNA nice suggestion, I will consider this carefully.
In addition, a switch for verbose logging (including SSL option)
Adding another vote for this one. Could use a lot more visibility when stringing requests/variables together, including connection details.
Voting this up. I have added "rest-client.logLevel": "verbose"
but there is still nothing in the Output > REST pane. If I make a POST with variables in the URL and json body, I want to see the actual request url, request headers, and request body that is made. This is especially needed when you string multiple requests together.
This appears to be not working still. I set rest-client.logLevel to "verbose" and "info", neither seems to output anything on Output > REST panel. The panel remains blank.
Any updates please?
@aries-zhang I am currently comparing rest-client with httpyac. In httpyac I see all requests/response in the output (httpyac - Requests). Maybe it's worth a try for you. But httpyac doesn't have many downloads yet.
@aries-zhang I am currently comparing rest-client with httpyac. In httpyac I see all requests/response in the output (httpyac - Requests). Maybe it's worth a try for you. But httpyac doesn't have many downloads yet.
It looks more powerful with its script blocks, will give it a try - thanks heaps @jb04021991 👍
To anyone that's coming to this discussion trying to get more information about your requests and responses, consider adding this to your settings.json
:
"rest-client.previewOption": "exchange"
To preview your requests and responses.
Any updates of this @Huachao it will be very helpfull thks!