How can i find all used api in website or in one page of the website ?

Mahdi Elahi 31 Reputation points
2022-07-11T08:33:40.513+00:00

How can i find all used api in website or in one page of the website ?

I want write a program in .net core in such a way that when user enter the website address or some url i show the all api is used on this url or website ?

how do it ?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,389 questions
{count} votes

6 answers

Sort by: Most helpful
  1. Rijwan Ansari 746 Reputation points MVP
    2022-07-11T14:46:50.01+00:00

    Hi @Mahdi Elahi ,

    You can use XHook that intercepts XHR requests.
    You can get all the API calls.

    https://github.com/jpillora/xhook

    Demo: http://jpillora.com/xhook/#vanilla

    1 person found this answer helpful.
    0 comments No comments

  2. satya karki 986 Reputation points
    2022-07-11T14:48:49.957+00:00

    Hi @Mahdi Elahi

    You can check this thread. This might help you.

    1 person found this answer helpful.
    0 comments No comments

  3. Mahdi Elahi 31 Reputation points
    2022-07-13T07:58:03.13+00:00

    I want to review other people's sites in web, not my own site .
    how to do it?

    for example you have a website in web www.Test.com , i want find all used api in the index page of your site.(www.Test.com/Index)
    I want to know what api it calls.

    @satya karki
    @Rijwan Ansari

    0 comments No comments

  4. Bruce (SqlWork.com) 61,266 Reputation points
    2022-07-13T15:42:30.097+00:00

    you can not see the api's the server calls, but you can capture the javascript requests. to do this your application would use webkit to load the url. using webkit events, you track the network requests.

    you can use the browsers debug tools (network trace) to see if this is the info you want.

    note: there are several screen scrapping tools that may want to look at also.

    0 comments No comments

  5. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more