Reviewing and testing REST Web APIs
Security in REST Web APIs
The REST API uses the JSON encoding. The API has no knowledge of the purpose it is going to be used for. It ensures only JSON encoding and returns data verbatim. As the data can be used for different purposes, we recommend that you encode the data either before sending it to the API or after collecting it from the API.
The following are the use cases.
To test the web service
BMC Client Management provides a tool to review and test the REST web API operations available for interaction with BMC Client Management database.
- In a browser window, enter the tool URI in the https://server:port/wsdoc format. For example,http://scotty:1611 or http://localhost:1611.
For authentication, click Authorize. A popup displays.
On the popup, enter username and password and click Authorize.
The access to the BMC Client Management database is now granted.
To access the operations, click the respective group link and the available operations are listed.
- To test an operation, click Try it out.
All the fields are now enabled for editing. - Change the values of the required fields and click Execute.
The test result is displayed. - Click Clear if you want to clear the data and start the test again.
For more information about supported REST web services operations, download and see the
for Integration with BMC Client Management.