-
-
Save to016/567fabe831e3f0d765e6d6a57c72663c to your computer and use it in GitHub Desktop.
File upload HTTP request sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POST / HTTP/1.1 | |
Host: ec2-23-20-227-204.compute-1.amazonaws.com:3000 | |
Connection: keep-alive | |
Content-Length: 871 | |
Cache-Control: max-age=0 | |
Origin: http://ec2-23-20-227-204.compute-1.amazonaws.com:3000 | |
User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5 | |
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryUzEOlJ3ebRFRAGwv | |
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 | |
Referer: http://ec2-23-20-227-204.compute-1.amazonaws.com:3000/ | |
Accept-Encoding: gzip,deflate,sdch | |
Accept-Language: en-US,en;q=0.8,zh-CN;q=0.6,zh;q=0.4 | |
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 | |
------WebKitFormBoundaryUzEOlJ3ebRFRAGwv | |
Content-Disposition: form-data; name="title" | |
help | |
------WebKitFormBoundaryUzEOlJ3ebRFRAGwv | |
Content-Disposition: form-data; name="image"; filename="AUTHORS" | |
Content-Type: application/octet-stream |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment