Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

About specifying double-byte characters in the curl command

青山 明
Contributor
July 29, 2022

I executed the following curl command with the dos command in the environment of windows10. However, if you specify double-byte characters in the "XXX" part, an error will occur. There is no problem if it is half-width characters. If you specify double-byte characters, what is the cause of the error? What should I do?

curl -s -o req.txt -w "%% {http_code}" --request GET ^

--url "https://xxx.atlassian.net/wiki/rest/api/content/search?cql={label=xxx}" ^

--header "Authorization: Basic xxxxx" ^

--header "Accept: application / json" ^

--ssl-no-revoke

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events