Tuesday, March 31, 2015

APIs (useful links)

Use this to get a handle on using it with curl
https://gist.github.com/caspyin/2288960

Once you have that down use this to figure out the JSON data structure for your GET/POST requests
https://www.getpostman.com/

Great tutorial on creating you own API in a few minutes with node. (I used coffee script)
https://scotch.io/tutorials/build-a-restful-api-using-node-and-express-4

Great site for converting js into coffee script
http://js2.coffee

Great writeup on API authentication (with code samples) I used the basic auth with ssl.
https://stormpath.com/blog/the-problem-with-api-authentication-in-express/