最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Jira Rest API V3 Returns 200 when missing API Key? - Stack Overflow

programmeradmin5浏览0评论
curl -u "correctUser:correctAPIKEY" \
 -X GET \
 -H "Accept: application/json" \
 -s -o response.json -w "%{http_code}\n" \
 ";

returns status code 200 and a list of project within the result json.

curl -u "missingOrIncorrentUser:missingOrIncorrentKey" \
 -X GET \
 -H "Accept: application/json" \
 -s -o response.json -w "%{http_code}\n" \
 ";

Still returns 200, at least for me? What is the logic behind it? What happend to 403 and 401?

发布评论

评论列表(0)

  1. 暂无评论