Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When there is an escape character double quotation mark in the data raw data, the escape character will be lost #154

Open
shaofing opened this issue Nov 7, 2023 · 0 comments

Comments

@shaofing
Copy link

shaofing commented Nov 7, 2023

curl --location --request POST 'https://xxxx.ddddd.com/Kmtqt.TMS.WebUI/api/UDFApi/SyncETCCost' \ --header 'User-Agent: Apifox/1.0.0 (https://apifox.com)' \ --header 'Content-Type: application/json' \ --data-raw '{ "token": "xxxxxxxxxxxxx", "sqlWhere": "SP_UDF1==\"kmt\"" }'

In the shell, \ is a line break, so the line break should be removed before parsing the data
reference
https://github.com/postmanlabs/curl-to-postman

@shaofing shaofing changed the title --data-raw 数据中存在 【\"】转义符双引号时,会丢失转义符【\】 When there is an escape character double quotation mark in the data raw data, the escape character will be lost Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant