postman-app-support icon indicating copy to clipboard operation
postman-app-support copied to clipboard

When using --data raw and -H 'content-type: application/x-www-form-urlencoded; charset=UTF-8' ,ERROR

Open shaofing opened this issue 1 year ago • 0 comments

Is there an existing issue for this?

  • [ ] I have searched the tracker for existing similar issues and I know that duplicates will be closed

Describe the Issue

image

postbody use --data-raw , content-type: application/x-www-form-urlencoded

curl 'https://testxa.360scm.com/SCM.TMS7.WebUI/OrderInfo/GetOrderInfos?defsort=CREATED_DATE%20DESC' \ -H 'accept: application/json, text/javascript, /; q=0.01' \ -H 'content-type: application/x-www-form-urlencoded; charset=UTF-8' \ -H 'cookie: SECKEY_ABVK=vXcLME3J4gfCQm3L15OdxVwb1NzZrp1tsMJWWK52Da0%3D; BMAP_SECKEY=CIWetft4QxLL6PmWGbf_-xHtcGx5JWfpGBEkgklHTJAKLixUJ2HdBHf05lmI2Nzgf9Oi9aBi-gafX5J3x9tkZQTsXhmr7o9HVkKGn3DPXWhh54x4P6yyDoIlaE-mobk8FbwevtXYN74xiY1ur_E0QJrC-V2UTlFSYlyKYGk1G9BwKgWZBw_vN1E6CLUOODjX; PowerTmsVersionCookie=Version%3D%2C; QuantumMap=Baidu; Lang=zh-cn; AttachmentWidgetLayout=list; cw_user_N183jFc4G3HGNidKRvKBL9xC=2059671a410d739d3d6cbd594bbf5a8f; cw_conversation=eyJhbGciOiJIUzI1NiJ9.eyJzb3VyY2VfaWQiOiI0NWUyMDczNS05MDhiLTQyMTgtOGJkZS1jMTNhMDJiM2JlNWEiLCJpbmJveF9pZCI6Mn0.i_q10GLhZoDxTD9ysM7jfcUucDwkT0SfNwUEs_S-4IU; SSID=41201fdc77e148c780c6d37086704acb; PowerTmsCookie=TmsUserID%3D498%2BwLHRG3p0cmzxuKNosg%3D%3D; Token=467ea36a-2b9e-49e0-a092-e95a593797eb; SCMToken=467ea36a-2b9e-49e0-a092-e95a593797eb' \ -H 'pragma: no-cache' \ -H 'x-requested-with: XMLHttpRequest' \ --data-raw '_search=true&nd=1708306824824&rows=20&page=1&sidx=&sord=asc&filters=%7B%22groupOp%22%3A%22AND%22%2C%22rules%22%3A%5B%7B%22field%22%3A%22CREATED_DATE%22%2C%22op%22%3A%22bw%22%2C%22data%22%3A%2223%2F11%2F21+00%3A00~*%22%7D%5D%7D' \ --compressed

image

Steps To Reproduce

copy url from edge。

Screenshots or Videos

No response

Operating System

Windows

Postman Version

10.24.16

Postman Platform

Postman App

User Account Type

Signed Out User

Additional Context?

curl-to-postman

https://github.com/postmanlabs/curl-to-postman/issues/79

shaofing avatar Apr 25 '24 09:04 shaofing