Added example code for using curl

For @najalbert 

Copied over the quickstart code for curl, to have a backup of the code in case we lose the gist again.