HTTP - The Hard Way with Netcat
Source: https://arpitbhayani.me/blogs/making-http-requests-using-netcat Date: 2016-04-12
Explore HTTP messages by building a simple Python webserver and interacting with it using Netcat. See requests in action!
Majority of the traffic over the internet is HTTP Traffic. There is a HTTP Client which wants some data from HTTP Server, so it creates a HTTP Request Message in the protocol understandable by the server and sends it. Server reads the message, understands it, acts accordingly and replies back with HTTP Response.
This complete process is abstracted by the tools like curl, requests libraries and utilities like Postman. Instead of using these tools and utilities, we shall go by the hard way and see HTTP messages in action.




