Development against the joind.in-API

Reminder to my future self:

Obtaining an authentication token from the joind.in-API using the vagrant-box via curl:

curl --data "{\"grant_type":"password","username":"<username>","password":"<password>","client_id":"web2","client_secret":"web2secret"}" -H "Content-Type: application/json" -H "Accept: application/json" http://api.dev.joind.in:8080/v2.1/token

And then using that token via curl:

curl -H "Authorization: oauth <token>" -H "Content-Type: application/json" -H "Accept: application/json" --data "{}" http://api.dev.joind.in:8080/v2.1/<endpoint>

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Find out more about Webmentions.)