Skip to main content

Find API route, method & body in Microsoft web portals

Find API route

The API route describes the URL on which the requests are executed.

  1. Open developer tools in your browser. -> (F12 in Edge & Chrome)
  2. Open tab network tracing.
  3. Run query in GUI (Intune Admin Center, Azure Portal, etc.).
  4. Find query in Network Tracing.

image.png

Under General -> Request URL you can see the API route which was called from the corresponding web portal.

Find API method

To find out the REST method used, you can open the Devtools in the same way as for finding the API route. The network blade will then show which REST method was used under Request Method.

image.png

Find API body

Requirements: API route must be known (steps above)

When something is created, a JSON object must be passed to the API. Only the request method "POST" or "PUT" can be used.

  1. Open network tracing in browser.
  2. Perform query in GUI (Intune Admin Center, Azure Portal, etc.).
  3. Find query in network tracing.
  4. Switch to "Payload" and display JSON object.

image.png