Using the API Tester

To enter a JSON to test an API, do the following

  1. On the Developer main screen in the GENERAL group, click API log.

    The API tester screen appears.
  2. Do one of the following:
    1. In the Request field, enter the raw JSON

    2. Select a command to form the valid JSON structure and you need to modify it with the actual values.

    3. user.authenticate API should not be used because the portal user already has an authenticated session which is used as the "auth" context for submitting JSON requests

  3. Click Test.
    The request will be sent to the server and the response will be displayed in the Response text box once the result is received.

Related topics

IoT Portal API Reference Guide