Demo server for OAuth and reading feeds in JSON and XML.
> npm install
> npm start
Server will be started at http://localhost:3000.
To be launched soon at http://private-feeds-server.herokuapp.com.
curl http://username:[email protected]/feed-basic
Returns an RSS/XML feed
Request Body
{
"username": "agnostechvalley",
"password": "d0$ntm@tt3r"
}
Username and password can be any strings.
Response Body
{
"token": "57e10c03-61b9-4aaa-a6f8-af4d4f1e939b"
}
Using the token from above to set the Authorization
header.
Request Headers
Authorization: Bearer 57e10c03-61b9-4aaa-a6f8-af4d4f1e939b
Response Body
See feeds/rss.json
and feeds/rss.xml
in this repo.
http://agnostechvalley:[email protected]/feed-basic
Response Body
See feeds/rss.xml
in this repo.