Skip to content

How to use an application (Tryout Operation)

In this tutorial, you’ll learn how to run the Tryout operation with an Application’s keys so you can test an API before or alongside subscription.

Note

Tryout uses an application’s X-Yappes-Key (and related tryout keys) to call an API. To create an application with APIs, rate plans, and OAuth scopes, use the subscription-first flow in Creating an Application.

You can run tryout for both published and unpublished APIs.

For published API

  • From the home screen of the API Manager, go to Marketplace → select API Listing.

Accessing Marketplace API Listing

  • Select the API you need to try out.

Selecting API for Tryout

  • Switch to API Documents.

Switching to API Documents

  • API Documents includes endpoint details, headers (including X-Yappes-Key and X-Yappes-Subkey), remaining tryouts, and sample requests.

API Documents Window for Tryout

  • Select the application whose X-Yappes-Key you want to use.

Tryout Live

  • Click Tryout operation.

Tryout Response URL and Response Header

  • Review the request URL and response (including headers).

To view keys, usage, or subscription details for that application, open it from Manage APIs → Application. See Application Details.

For unpublished API

Info

This section is for users of Internal Organizations only. To run tryout for an unpublished API, you must have the role of platform-admin, api-product-manager, or api-developer.

  • From the home screen, go to Manage APIs → select My APIs.

Accessing My APIs

  • From the available unpublished APIs, click for the API you need to try out.

Accessing Edit Options for the Tryout

  • On the API details page, scroll to Manage Endpoints and click Edit, or click Tryout.

Accessing Manage Endpoints

  • In the new window, click Tryout.

Accessing Tryout Option

  • The Endpoint Tryout window shows endpoint details, headers (including X-Yappes-Key and X-Yappes-Subkey), remaining tryouts, and sample requests.

Endpoint Window

  • Select the application whose X-Yappes-Key you want to use.

Tryout Operation Live

  • Click Tryout operation.

Unpublished API Tryout Response

  • Review the request URL and response (including headers).

To view keys, usage, or subscription details for that application, open it from Manage APIs → Application. See Application Details.