Skip to content

Instantly share code, notes, and snippets.

@cburnette
Created July 13, 2016 18:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cburnette/91c54f8d7697e8dc7e33a367ddfc9a5c to your computer and use it in GitHub Desktop.
Save cburnette/91c54f8d7697e8dc7e33a367ddfc9a5c to your computer and use it in GitHub Desktop.
POST error
POST https://upload.box.com/api/2.0/files/content HTTP/1.1
Host: upload.box.com
Connection: keep-alive
Content-Length: 2368
Pragma: no-cache
Cache-Control: no-cache
Accept: */*
Origin: http://localhost:1655
Authorization: Bearer H9Wv8Ttyzwdn6ovziM8fGOBtrkmnbCFC
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryuEdWm9t5sJrVizAE
Referer: http://localhost:1655/App
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.8
------WebKitFormBoundaryuEdWm9t5sJrVizAE
Content-Disposition: form-data; name="files"; filename="test - Copy.txt"
Content-Type: text/plain
This is an example file that was uploaded when the new app user was created.
This is an example file that was uploaded when the new app user was created.
This is an example file that was uploaded when the new app user was created.
This is an example file that was uploaded when the new app user was created.
This is an example file that was uploaded when the new app user was created.
This is an example file that was uploaded when the new app user was created.
This is an example file that was uploaded when the new app user was created.
This is an example file that was uploaded when the new app user was created.
This is an example file that was uploaded when the new app user was created.
This is an example file that was uploaded when the new app user was created.
This is an example file that was uploaded when the new app user was created.
This is an example file that was uploaded when the new app user was created.
This is an example file that was uploaded when the new app user was created.
This is an example file that was uploaded when the new app user was created.
This is an example file that was uploaded when the new app user was created.
This is an example file that was uploaded when the new app user was created.
This is an example file that was uploaded when the new app user was created.
This is an example file that was uploaded when the new app user was created.
This is an example file that was uploaded when the new app user was created.
This is an example file that was uploaded when the new app user was created.
This is an example file that was uploaded when the new app user was created.
This is an example file that was uploaded when the new app user was created.
This is an example file that was uploaded when the new app user was created.
This is an example file that was uploaded when the new app user was created.
This is an example file that was uploaded when the new app user was created.
This is an example file that was uploaded when the new app user was created.
This is an example file that was uploaded when the new app user was created.
------WebKitFormBoundaryuEdWm9t5sJrVizAE
Content-Disposition: form-data; name="parent_id"
0
------WebKitFormBoundaryuEdWm9t5sJrVizAE--
HTTP/1.1 401 Unauthorized
Date: Wed, 13 Jul 2016 16:01:00 GMT
Server: ATS
WWW-Authenticate: Bearer realm="Service", error="invalid_request", error_description="The access token was not found."
Content-Length: 0
Age: 0
Cache-Control: proxy-revalidate
Connection: Keep-Alive
Set-Cookie: BCSI-CS-0efd08604023d9d9=1; Path=/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment