Versions Compared

Key

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

...

 7. Click the "Generate Production Key" option and then click the "Show Key" option to obtain a key for your application.

Testing the API

Any REST client can be used to invoke the "FindTweets" API. For Curl, use the following command to invoke the "FindTweets" API.

 

Code Block
curl -v -H "Authorization: Bearer xxxxx" http://localhost:8280/twitter/1.0.0/search.atom?q=wso2
Replace the 'xxxx' with the application key obtained earlier. If the right key is passed, the API Manager will route the call to 'search.twitter.com' and get you an Atom feed consisting of all the recent Tweets tagged with the keyword 'wso2'.
You now have an introductory understanding of how to create and publish APIs through the API Publisher Web application, and how API consumers can use the API Store to subscribe to an API and invoke it. The proceeding chapters of this documentation provide detailed information on the API Manager, its components along with samples and tutorials.
 
Excerpt
hiddentrue

WSO2 API Manager - Quick Start Guide