The Api Tester can be used to validate the success and operation of the B2B Commerce Admin API endpoints. It provides a quick way to confirm the Admin API; however, it is a primitive tool when compared to other built in products such as Google Developer Tools. The Debug button is only accessible to users assigned the role of ISC_System
After selecting Api Tester, the Url test field, a Run button and a Decode button are provided.
Enter the actual API test Url.
Selecting Run uses the Angular $http service as a core Angular service to facilitate communication with the B2B Commerce API using the browser's XMLHttpRequest object or via JSONP.
In this example, /api/v1/admin/products has been entered into the Url field and Run has been clicked:
The result shows a successful response of the Product endpoints.
The decodeURIComponent() function decodes a URI component.
For more information on decoding, refer to this resource: http://www.w3schools.com/jsref/jsref_decodeuricomponent.asp
Last updated: Dec 11, 2020