Added example curl commands.
Implemented original draft spec, with apologies for missing features.