Skip to content
A sample nodejs script to access Mashape APIs
Find file
Pull request Compare This branch is 1 commit behind ismaelc:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


This is a sample nodejs script to access Mashape using REST.  It's accessing the bitly API.

You would need to put in a Mashape authorization header to get this to work.  For that, you need to sign up for a Mashape account at 

You can get the header from the Mashape REST docs at

(My bitly key is already there because you're lazy :P)

Send your questions to  Enjoy!
Something went wrong with that request. Please try again.