{“errorMessages”:["Unexpected character (''' (code 39)): expected a valid value

后端 未结 4 2071
眼角桃花
眼角桃花 2021-02-07 09:32

I found \"Query using POST\" from here.

And tried to use curl command from command like. Installed curl by refering this for windows.

Here is my CURL string:

4条回答
  •  清酒与你
    2021-02-07 09:41

    Try this. It should work.

    curl -D- -u admin:password -X POST -H "Content-Type: application/json" --data 
    \\"{"jql":"project = CI","startAt":0,"maxResults":50,"fields":["summary","status","assignee"]}\\"
    "https://myclientname.atlassian.net/rest/api/2/search"
    

    Don't forget to use a slash (\*{}\*}after and before json

提交回复
热议问题