Skip to content

Instantly share code, notes, and snippets.

@JordiCorbilla
Created June 25, 2016 13:55
Show Gist options
  • Save JordiCorbilla/4e7af15213eaabdc30f3e87ac85b5884 to your computer and use it in GitHub Desktop.
Save JordiCorbilla/4e7af15213eaabdc30f3e87ac85b5884 to your computer and use it in GitHub Desktop.
#Example posting to Kinvey via curl
>curl -H 'Content-Type: application/json' --user APPKEY:MASTERSECRET -X PUT -d '{"user":"user","password":"password","url","www.google.co.uk"}' https://baas.kinvey.com/appdata/APPKEY/Websites
#Example reading the content of the collection
>curl --user APPKEY:MASTERSECRET -X GET https://baas.kinvey.com/appdata/APPKEY/Websites/ -G --data-urlencode 'order={"user"}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment