Skip to content

Instantly share code, notes, and snippets.

@Neamar
Last active August 29, 2015 14:01
Show Gist options
  • Save Neamar/75546fa5013209ced625 to your computer and use it in GitHub Desktop.
Save Neamar/75546fa5013209ced625 to your computer and use it in GitHub Desktop.
Send a new document
$ curl -XPOST \
-H "Authorization: token ${TOKEN}" \
-H "Content-Type:application/json" \
https://api.anyfetch.com/documents \
-d '{"identifier": "hello-world", "document_type": "file", "metadatas": {"title": "anyFetch sample file"}}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment