Testing Your API
Procedure
- Navigate to the Developer Portal and go to I/O Docs. You can also go directly to http://evalXXXX.mashery.com/io-docs.
- Acme API will automatically be selected in the drop-down menu. If you have more than one API definition, you will have to select your API from the list.
-
If you have followed the instructions through this document, you should have your API Key listed in the
App/Key drop down. For unregistered users or users without key, they will just see a text box, which is what you would see if you click the
Manually provide key information link.
-
Under the
Default heading, with
Starter App App/Key selected, open up the
GET exampleMethod (it may be a different name if you optionally change it), then click the
Try It! button to test the API.
- You can see the sample request URI with http://evalXXXX.api.mashery.com/acme/v1/product?api_key=your-api-key. You could directly try this using your favorite client (for example, cURL, Postman, REST Client, SoapUI,) or even add it into your browser. You can also change the URL by replacing product with order, as this is another method available on this API.
Result
For more advanced tasks, refer to the Advanced Topics section on the TIBCO Community Support site.