First we need to install Oracle Java JDK version 1.7 or 1.8. Then we need to set the JAVA_HOME variable. After that we need to download the WSO2 API Manager. Next we need to start the WSO2 API Manager with the command:
To publish an API you have to login to the WSO2 API Publisher on https://hostname:9443/publisher with user name admin and password admin. After logging in click on the Deploy Sample API button. It deploys a sample API called PizzaShackAPI into the API Manager. The API will now show under the APIS tab.
To subscribe to the API login to the API store at: https://hostname:9443/store with user name admin and password admin. The newly created API is visible under APIs menu. Click the API to open its menu.
Next select a default application and an available tier and then click on Subscribe. Next click on the Production Keys tab and then click on generate keys to generate an access token to invoke the API. You have successfully subscribed to the API.
Next go back to the APIs menu and click on the PizzaShackAPI. Next click on the API console tab. Next expand the GET method and then click on the Try it out button. The response of the API invocation shows a list of menu items.
The WSO2 API Manager is an excellent platform for managing APIs. It is a scalable platform with useful features for managing different aspects of APIs.