0

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?

1 Answer 1

3

You need to use the API's root endpoint, on the api subdomain:

GET https://api.github.com/repos/facebook/react/issues
            ^^^^
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.