curl -H "Content-Type: application/json; charset=UTF-8" -d '{"username":"admin","password":"admin"}' http://localhost:2990/jira/rest/auth/1/session
我使用上述查询在DOS和我总是得到以下错误:错误卷曲认证成JIRA当
{“errorMessages”:[“意外的字符(‘’”(代码39 )):预计在[Source: [email protected]; line 有效值(number,String,array,object,'true','false'或 'null')\ n :1, column:2]“]}
我尝试了许多排列和组合..仍然没有工作..
如果您使用的是Windows,这将起作用。 – Turcia 2016-09-09 08:51:11