...
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 | ||
---|---|---|
| ||
WSO2 API Manager - Quick Start Guide |