我正在尝试通过curl使用Github REST API(https://developer.github.com/v3/pulls/reviews/#get-comments-for-a-single-review)检索请求请求评论注释,但是出现以下错误;
HTTP/1.1 500 Internal Server Error
Server: GitHub.com
Date: Fri, 11 Jan 2019 16:13:50 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 0
Status: 500 Internal Server Error
X-RateLimit-Limit: 5000
X-RateLimit-Remaining: 4991
X-RateLimit-Reset: 1547225111
X-GitHub-Media-Type: github.v3; format=json
Access-Control-Expose-Headers: ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type
Access-Control-Allow-Origin: *
Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
X-Frame-Options: deny
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Referrer-Policy: origin-when-cross-origin, strict-origin-when-cross-origin
Content-Security-Policy: default-src 'none'
X-GitHub-Request-Id: FE3B:0BD1:C52A:1FAAE:5C38C0BD
奇怪的是,当有问题的拉取请求是从一个分支到另一个分支时,但在上面的情况是从派生到上游的分支时,这种方法不起作用。