Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP

Clinton Johnson
Clinton Johnson
28,714 Points

The League of Extraordinary Packages (thephpleague) is a group of developers who have banded together to build solid, we

The League of Extraordinary Packages (thephpleague) is a group of developers who have banded together to build solid, well tested PHP packages using modern coding standards. Let's use the GitHub API to get a list of all the members in The PHP League. Look at the GitHub documentation to find the endpoint to request the members who are part of the organization. Use cURL to request the organization members. Type in your command below, then press Enter.

1 Answer

Anthony Kimberly
Anthony Kimberly
11,049 Points

The above answer is the 'correct' answer to pass the quiz. However, if you follow the documentation you see that they're expecting a header so you may be tempted to put in:

>>> curl -H "Accept: application/vnd.github.v3+json" https://api.github.com/orgs/thephpleague/members

While that works, it won't pass the quiz so go with the above answer!