I'm trying to use this guide to get a list of all issues from a repository. For example, let's look at the facebook/react
repository .
When I do a GET request to https://github.com/facebook/react/issues/
it just returns the web page, but what I want is a JSON with all the issues.
How can I get a JSON response?
You need to use the API's root endpoint , on the api
subdomain:
GET https://api.github.com/repos/facebook/react/issues
^^^^
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.