I got this question in one of the interviews I took. I started by explaining that it is like a set of rules that should be followed while moving resources around, but I did not feel convinced. Is there any other analogy or take on this question ?
How would you explain HTTP to a lay person
interview;http
One reasonable analogy might be speaking to someone on the phone. After all TCP/IP is very similar to phone call. So something along the lines of:HTTP is like a language that computers on the internet use to talk to each other.If you want something from somebody on the other end of the world, you phone them up and ask them and you have to ask them in a language you both understand. Requesting a web page from the internet works similar—your computer calls (it often even uses the same wires as phone) one in the company that made the page as asks it for the content—and HTTP is the language both computers understand.