Test an API
You can test an Application Programming Interface (API) locally to view its results and verify that it works as expected. The testing procedures are similar for DataService Studio APIs, data reporting APIs, third-party APIs, spatial service APIs, . This topic uses a DataService Studio API as an example to demonstrate how to test an API.
Prerequisites
An API of one of the following types has been created. For more information, see:
Procedure
-
Log on to the Data Resource Platform console.
-
In the upper-left corner of the page, click the
icon and select Collaboration. -
In the top menu bar, click the
icon, select the target workspace, and then click Asset Processing. -
In the navigation pane on the left, click the
icon and choose API Development > DataService Studio API. -
On the DataService Studio API page, click Test in the Actions column of the target API.
-
On the Test page, in the Request Parameters section, configure the default values for the request parameters.
-
Click Start Test. Verify that the returned content is correct, and then click Back.