现在的位置: 首页 > 综合 > 正文

post 表单中常见的四种表单请求方式

2018年05月12日 ⁄ 综合 ⁄ 共 452字 ⁄ 字号 评论关闭

//post 表单中常见的四种表单请求方式
typedef enum {
    postformURLEncoded,                 /*对应Content-Type: application/x-www-form-urlencoded;*/
    postformMultipartData,              /*对应Content-Type: multipart/form-data; boundary=----*/
    postformJson,                       /*对应Content-Type: application/json;
                                         当然也可以使用application/x-www-form-urlencoded;*/
    postformXML                         /*对应Content-Type: text/xml;*/

}PostFormDataType;

抱歉!评论已关闭.