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

Please fill in the correct answer in each blank provided below.

can you help in this issue in http basic toturial

2 Answers

Steven Parker
Steven Parker
231,271 Points

Let's look at the question again:
GET /books ______ type ______ kindle ______ sort=popular HTTP/1.1

Each blank needs just a single symbol, as explained in the Sending Data with a GET Request video:

  • the first is the symbol that separates the URI from the query string
  • the second is the symbol that separates the components of a name/value pair
  • finally the symbol that separates multiple name/value pairs

If you need a refresher on the actual symbols, check out the video again starting at time index 1:30.

i can't find what is the solution

Steven Parker
Steven Parker
231,271 Points

In the video, at 1:33 the instructor says "A query string is simply a sequence of name value pairs where the names and values are separated by an equal sign ... and the pairs are separated by ampersands.".

Then at 1:51 he says "When using a query string and a URI, you start with a single question mark."

thanks finally i did it

Steven Parker
Steven Parker
231,271 Points

Congratulations :+1:

And happy coding!