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

Development Tools HTTP Basics Introduction to HTTP Sending Data with a GET Request

This question makes no sense to me.

I have no clue what this question is expecting from me: this is the best I can come up with at answering this question, if anybody has any more info, please share it with me.

GET /books HTTP/1.1 type text/html kindle & sort=popular

1 Answer

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there! When sending a GET request we are asking for something or querying. This is expressed with a question mark. The things coming after the question mark are the parameters. The exercise is looking for you to ask for results where the type is equal to kindle and the sort is equal to popular. You did manage to get the & part correct!

So, the correct answers here would be ? (to start the query), = to say what we want the type to be equal to, and & to say that the other parameter must have a sort = popular.

Hope this clarifies things! :sparkles:

Thank you for your help. I guess the spacing also makes it look weird. Thank you again!