Skip to content

Instantly share code, notes, and snippets.

@rserna2010
Last active February 18, 2016 22:47
Show Gist options
  • Save rserna2010/c064fc2f83deb943f4c8 to your computer and use it in GitHub Desktop.
Save rserna2010/c064fc2f83deb943f4c8 to your computer and use it in GitHub Desktop.
DESIRED REQUEST
curl -v http://b.papi.staging.finix.io/disputes/DIpGgij37fsc22A4JTf9bP1a/files \
-H "Content-Type: multipart/form-data" \
-u USwyuGJdVcsRTzDeX9smLVGQ:968cb207-1abb-4100-9425-9a723e99eb10 \
-F "[email protected]"
### Upload Evidence For a Dispute [POST]
+ Request (multipart/form-data, boundary=AaB03x)
+ Headers
Authorization: Basic VVN3eXVHSmRWY3NSVHpEZVg5c21MVkdROjk2OGNiMjA3LTFhYmItNDEwMC05NDI1LTlhNzIzZTk5ZWIxMA==
+ Body
--AaB03x
Content-Disposition: form-data; name="file"; filename="testfile.txt"
Content-Type: text/plain
--AaB03x--
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment