libcurl c ++发布表单数据与请求有效负载?

时间:2018-07-17 15:12:38

标签: c++ forms request libcurl payload

我知道如何在C ++中使用libcurl发布表单数据,但是如何发布“请求有效载荷”数据?与过帐表单数据有何不同(如果有所不同)?请参阅下面的请求有效载荷数据。

Response Headers:

Content-Type: text/html; charset=utf-8

Request Headers:

Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryG82cUGis7lmfHL19

Request Payload:

  ------WebKitFormBoundaryG82cUGis7lmfHL19
    Content-Disposition: form-data; name="__VIEWSTATE"


    ------WebKitFormBoundaryG82cUGis7lmfHL19
    Content-Disposition: form-data; name="ctl00$Pager"


    ------WebKitFormBoundaryG82cUGis7lmfHL19
    Content-Disposition: form-data; name="__EVENTTARGET"

    ctl01$TC$BBD_ISSUE_RPTLink
    ------WebKitFormBoundaryG82cUGis7lmfHL19
    Content-Disposition: form-data; name="__EVENTARGUMENT"


    ------WebKitFormBoundaryG82cUGis7lmfHL19
    Content-Disposition: form-data; name="__EVENTVALIDATION"

    /wEWFAL+raDpAgLUy9G7AwLH6/qKCgKDnbntDgLH0vqJCAK5l5O1CQK42rCNBQKM4fNgAufEqeEHAoe/ytQJAvvQvU4C96OJow0C3YnIpgsC0a3s6A0CroaZiAYC28K51g4CpLPr/gcC46L8ww0Cq83cug4C0+nlwAzDcbaDFsCek7cLKaKs8kyafpbT3w==
    ------WebKitFormBoundaryG82cUGis7lmfHL19--

0 个答案:

没有答案