Skip to content

最新版 复制curl时出现问题,主要是单行结尾是 \ 还是 ^ #2920

Description

@lingdanqing

最新版 复制curl时出现问题,主要是单行结尾是 \ 还是 ^,
最新版默认是^,很多转换工具没法识别,需要把 ^ 全部替换为 \ 才能识别

curl -X POST 'https://api.theone.art/market/api/dynamicNews/findNewsList' ^
-H 'Host: api.theone.art' ^
-H 'Connection: keep-alive' ^
-H 'Content-Length: 57' ^
-H 'sec-ch-ua-platform: "Android"' ^
-H 'User-Agent: Mozilla/5.0 (Linux; Android 15; PJZ110 Build/AP3A.240617.008) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.6998.135 Mobile Safari/537.36' ^
-H 'Accept: application/json, text/plain, /' ^
-H 'sec-ch-ua: "Chromium";v="134", "Not:A-Brand";v="24", "Android WebView";v="134"' ^
-H 'Content-Type: application/json;charset=UTF-8' ^
-H 'sec-ch-ua-mobile: ?1' ^
-H 'Origin: https://www.theone.art' ^
-H 'X-Requested-With: com.mmbox.xbrowser' ^
-H 'Sec-Fetch-Site: same-site' ^
-H 'Sec-Fetch-Mode: cors' ^
-H 'Sec-Fetch-Dest: empty' ^
-H 'Referer: https://www.theone.art/login?redirect=https%3A%2F%2Fwww.theone.art%2Fhotspot%3Ftype%3D36' ^
-H 'Accept-Encoding: gzip, deflate, br, zstd' ^
-H 'Accept-Language: zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7' ^
-d '{"location":"user_agreement","pageCount":1,"pageSize":20}'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions