2

I already know the difference between POST and GET, but does the HTTP response changes when I make a request like:

GET / HTTP/1.1 Host: www.engadget.com 

or

POST / HTTP/1.1 Host: www.engadget.com 

I'm doing a basic web server (Can't use php or any server-side language) for an assignment so I need to know if the response changes or is basically the same.

1 Answer 1

2

It's up to the recipient of the request (server) to send back a response. The client can pass preferences to influence the response in the header (content type etc), but ultimately the response is determined by the server.

Sign up to request clarification or add additional context in comments.

1 Comment

According to what you said, if there is no server-side language parsing the query strings, the response is basically the same, am I right?

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.