Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to inspect HTTP requests in Safari 8 or later

Tags:

safari

I can't seem to find a way to view the raw HTTP requests sent by safari to the webserver. Does anyone know how you can do this in Safari 8.

I did manage to find some HTTP headers in the resource tab of the web inspector enter image description here But I want to see the raw (in plain text) HTTP request

Thanks in advance

like image 790
Damiaan Dufaux Avatar asked Sep 26 '14 07:09

Damiaan Dufaux


People also ask

How do I view HTTP requests in Safari?

Turn on the "Develop" menu in Safari Preferences, then choose "Show Web Inspector" from the "Develop" menu. Click "Resources". Select the resource you want to inquire about and click "Headers". Thanks for that.

How do I see responses in Safari?

In Safari 12, select the row in the network tab. The response will be displayed in the main area.

How do I check http requests?

To view the request or response HTTP headers in Google Chrome, take the following steps : In Chrome, visit a URL, right click , select Inspect to open the developer tools. Select Network tab. Reload the page, select any HTTP request on the left panel, and the HTTP headers will be displayed on the right panel.


1 Answers

Actually, there is a way to do that, just like Chrome:

On the Inspector window, at the Resource sidebar (at right), there's a small arrow at the "Request Data" subsection. That's where we need to click!

enter image description here

(Sorry for the browser language in Portuguese, btw).

Once the data screen is loaded, you can even switch between Request and Response views.

enter image description here

Hope this helps :)

like image 102
DccBr Avatar answered Sep 23 '22 06:09

DccBr