HTTP Submit form data

Source: Internet
Author: User
Tags oauth

Form form

<FORMAction= "Http://192.168.11.150:80/oauth/v2/formDataDemo"enctype= "Multipart/form-data"Method= "POST"><P>What is your name?<INPUTtype= ' text 'name= ' Submit-name '><BR>What files is you sending?<INPUTtype= ' file 'name= ' Files '><BR><INPUTtype= "Submit"value= "Send"><INPUTtype= "Reset"></FORM>

View HTTP request headers

Post/oauth/v2/formdatademo http/1.1
host:192.168.11.150
connection:keep-alive
content-length: 132770
cache-control:max-age=0
accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Origin:null
user-agent:mozilla/5.0 (Windows NT 6.1; WOW64) applewebkit/537.36 (khtml, like Gecko) chrome/43.0.2357.124 safari/537.36
content-type:multipart/form-data, boundary=----WEBKITFORMBOUNDARYPNYDCORQNAO6CVJB
Accept-encoding:gzip, deflate
accept-language:en-us,en;q=0.8,zh-cn;q=0.6,zh;q=0.4

Request Playload

------webkitformboundaryPNYDCORQNAO6CVJB 
content-disposition:form-data; name= "Submit-name"
(a blank line)
aaaaaaaaaaaaa
------webkitformboundaryPNYDCORQNAO6CVJB
content-disposition:form-data, name= "files"; filename= "??. PNG "
Content-type:image/png
(a blank line)
(a blank line)
------webkitformboundarypnydcorqnao6cvjb--

HTTP Submit form data

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.