Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Step 3 - Create an API on the API Manager

  1. Open <AM_HOME>/reposotory/conf/carbon.xml and enter a value other than 0 for the Offset element.  e.g.,<Offset>5</Offset>
  2. Navigate to <AM_HOME>/bin and type the following command to start the server ./wso2server.sh
  1. Load the publisher application by providing the URL 'https://<host>:<port>/publisher' browser. eg : https://127.0.0.1:9448/publisher

on the

7. Follow [6] to design the API.
There are two resources belonging to the back-end accessed by the rest API sample 800 as

follows
GET : /view/{symbol}

POST : /order/*
In order to provide access to these resources via the API these two resources need to be added. For this specify the resource path in the space provided and tick the method used to access the

resource as follows. 

Step 4 -  Publish the API to the store

...