RESTer icon indicating copy to clipboard operation
RESTer copied to clipboard

Logs: see all (including browser added) request headers

Open u-jung opened this issue 7 years ago • 3 comments

Hello,

Great work! Is there any way to see the complete log of request I made successfully using RESTer? Maybe by console.log? It's needed because same requests sometimes are not working with curl or python urllib. I want to know why ...

Greetings

u-jung avatar Sep 17 '18 07:09 u-jung

Hey @u-jung, sorry for the late response. If you would like to see additional network information, that might not be possible for RESTer. Internally it just uses fetch. So the network stack is controlled by the browser.

Howver, can you describe a bit more what kind of information you would like to see? I will see what an extension can extract from the browser.

frigus02 avatar Sep 24 '18 10:09 frigus02

Hello,

thanks for the answer. In fact I've already found the problem why my query was refused by the host. As it is a simple html query to a php server, I needed to provide a PHPSESSION cookie too. As I had the same page already open in another browser tab, RESTer responded succesfully but curl didn't. After all it would be useful if somewhere on the result page I could see the that a cookie has also been send.

Greetings

U Jung

u-jung avatar Sep 24 '18 19:09 u-jung

Ah nice, got it. I would love to show exactly how the request looked like, that was sent to the server. I might add a request view, similar to the response view. Unfortunately it's hard to predict the headers, so I think this will only be visible after sending a request.

frigus02 avatar Sep 27 '18 19:09 frigus02