curl -H "Content-Type: application/json; charset=UTF-8" -d '{"username":"admin","password":"admin"}' http://localhost:2990/jira/rest/auth/1/session
我在 DOS 中使用了上述查询,但总是收到以下错误:
{"errorMessages":["Unexpected character (''' (code 39)): 在 [Source: org.apache.catalina.connector.CoyoteInputStream@1fd9611;行:1,列:2]"]}
我尝试了许多排列和组合..仍然没有用..