Skip to content

Instantly share code, notes, and snippets.

@voxpelli
Last active August 29, 2015 14:25
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save voxpelli/3fed4f1e5e15ace3f185 to your computer and use it in GitHub Desktop.
Save voxpelli/3fed4f1e5e15ace3f185 to your computer and use it in GitHub Desktop.
Micropub multipart
curl -X "POST" "http://127.0.0.1:8080/micropub/thepost.se" \
-H "Authorization: Bearer 12345" \
-F "category[]=bar" \
-F "content=SKOSJKSJGSG" \
-F "name=Testar kategorier5" \
-F "h=entry" \
-F "photo[]=@../../Pictures/Test/testbild.png"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment