Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

See what API calls of a website is making

Tags:

rest

unix

api

Is it possible to see what rest calls a page makes when I visit it? Like if I go to google drive, can I see what calls my browser is making to their web servers? If so how? Would something like Wireshark be used in this case? Is there something higher level than that?

like image 253
owenlero Avatar asked Jul 11 '14 00:07

owenlero


People also ask

How do you see what API calls a website makes?

Open Chrome DevTools Ctrl + Shift + I then go inside the Network tab. Switch to Fetch/XHR then click left panel list item. You'll see Request URL on Headers tab.

How do you find which API is being called?

If you navigate to the “Preview” section, and select “Request” in the drop down menu located on the right side, you will be able to see the body of the API Call: If you look into it, you should be able to see the new name of the AP. Moreover, it will give you an idea of what type of data is expected by the Mist cloud.


1 Answers

In Chrome Ctrl + Shift + I then click network. You can view all network traffic or filter it. AJAX requests generally show up under XHR (XmlHttpRequest) unless the website is using JSONP - in that case they would appear under Scripts.

like image 144
Michael Benjamin Avatar answered Sep 28 '22 16:09

Michael Benjamin