How to check API responses in Real Time

How to check API responses in Real Time

Tech

 

This blog is for consumers who are new to Anywhere Developer Portal and would like to effectively use Anywhere API product specifications.

 

What is Try It function?

Anywhere Try It setup allows you to make API calls directly from API docs. You can check any API method using this function to get real time responses with no coding.

 

Where to look for Try It and what do I need to use the same?

Anywhere Try It function can be used on any API product specification document. Example, Relocation Authorization Specification.

Try it functionality

For using Try it function, you will need

1. Access to this API product for a required environment. e.g. Sandbox, Production.

2. Using MyApps get the API Key and Okta Credentials.

3. Generate Bearer Token

With this, you are now ready to check all API methods using Try it.

  • Enter Bearer Token and ApiKey
  • Select Environment (Target Server)
  • Select query parameters
  • Hit Send button
Get API response from the response section in real-time.

 

How to get request samples and response samples?

Anywhere provides request samples in multiple languages which can be directly used for development. You can get request samples in curl, nodejs, javascript, Python, C# and Java. Response sample provide all possible error codes and associated messages that you can expect for a given API method.

API Response Sample 200 API Response Sample 401

 

Was this helpful? dislike