Retrieve URL Route Details
This is a simple tutorial on how to retrieve a trace’s details by ID using Postman.
The Process:
- Open up Postman
- Set the api URL to https://api.wheregoes.com/v1/trace
- Change the Request method to GET
- Add the following headers
Key | Value |
Accept | application/json |
Content-Type | application/json |
X-WhereGoes-Key-Token | {{ Your API KEY }} |
- Add the following JSON snippet to the Body of the request.
- Notice that the target URL that you will be tracing is in the JSON “trace” array under “url”.
{
"fields":[],
"trace": [
{
"url":"http://wheregoes.com/tests/js-redirect-1.php",
"ua":"test bot agent"
}
]
}
- Click the SEND button. The results will appear at the bottom of the window. You can also change the way the response body is formatted by choosing the “Pretty” tab and then changing the content type from HTML to JSON.