【发布时间】:2017-11-13 17:16:36
【问题描述】:
我正在尝试访问
get request url : https://jira.atlassian.com/rest/api/2/search?jql=assignee=Unassigned
header :
Authorization:Basic username:password
Content-Type:application/json
但响应返回
Unauthorized (401)
Encountered a "401 - Unauthorized" error while loading this page.
Go to JIRA home
请帮助
【问题讨论】:
-
在 Postman 中遇到同样的错误,问题是授权(jira 登录)不正确,更正后,API 工作正常。
标签: javascript java jira postman jira-rest-api