简体   繁体   中英

Fiddler formatting request body for POST requests w/ array URL arguments

Say you submitted the form and you have in the Request Body:

data[first]=johnny&data[last]=appleseed

The normal POST request works fine from the web, but when submitted from Fiddler the PHP complains that 'data' is not an array.

I'm not sure how to format the request body such that 'data' gets recognized as an array.

Yes I'm using Content-Type: application/x-www-form-urlencoded .

Thanks

发现问题,未正确编码请求正文(即,未将%5B用于“ [”,未将%5D用于“]”)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM