How to send data via a query using a GET request to retrieve more detailed content?

Lets telnet to:

telnet 80

GET /get?firstname=Chris@language=English HTTP/1.1




Examining the GET Request.

GET is the command to ask for the content.

/get is the resource or folder where the content is located at on the server.

?  tells the the server to retrieve and respond back with content that meets the criteria  of having a”firstname” of “chris and language of English using the HTTP 1.1 protocol.

As we can see in the screenshot above that the server return the content in a format called JSON.


JSON stands for Javascript Object Notation.

JSON is database type that javascript can read natively.

Another point to note is the header, “Content-Length: 211” .

This means that the JSON data is 211 bytes.


We're not around right now. But you can send us an email and we'll get back to you, asap.


©2021 RussellCoder

Log in with your credentials

Forgot your details?