Skip to content
Browse files

Show an upload example with curl

  • Loading branch information...
1 parent a6e9de8 commit ac8a77dbb84598df83273c0eb440544392c340ea @packagethief packagethief committed
Showing with 4 additions and 0 deletions.
  1. +4 −0 sections/uploads.md
View
4 sections/uploads.md
@@ -9,6 +9,10 @@ Create upload
POST a multipart/form-data request body (RFC 2388). The file parameter must be named `upload`.
+**Example with curl:**
+
+ curl -u TOKEN:X --form upload=@/path/to/file https://subdomain.campfirenow.com/room/1/uploads.xml
+
**Request:**
Content-Type: multipart/form-data; boundary=---------------------------XXX

0 comments on commit ac8a77d

Please sign in to comment.
Something went wrong with that request. Please try again.