HTTP
A basically HTTP stands for HyperText Transfer Protocol and HTTP is a protocol for HTML HTTP to create a connection between a web browser and web servers a foundation for collect data exchange on the Web and it is a client-server protocol.
Is there HTTP is an important topic?
Yes, we have many following things in HTTP like UserAgent, HTTP Cache, HTTP Cookies, CROS but don't worry I covered all these topics lets start with HTTP today.
How HTTP works :-
1.A simple work of HTTP is to send the request to the server from the web browser.
2.After the server is processed you request and try to fulfill your request.
3.then we get a response back and with the use of javascript, we can access that data.
Check the next image to understand how its works I created a simple diagram of HTTP.
We also have some HTTP Codes
An HTTP status code indicates which specific request has been completed.
1.Informational:- 100 Continue, 101 Switching Protocols, 102 Processing
2.Success:- 200 Ok, 201 Created, 202 Accepted,204 No Content
3.Redirection:- 301 Moved Permanently,302 Found, 305 Not Modified,305 Use Proxy
4.Client error:-400 Bad request, 401 Unauthorized, 402 Payment required, 403 Forbidden, 404 Not found
5.Redirection:- 500 Internal server error, 502 Bad gateway, 503 Service Unavailable, 504 Gateway timeout.
I hope you like this also comments about your thoughts.
For more content follow me on Instagram @developer_nikhil27.
If you want to more support me then buy me a coffee.
Thank you.
Top comments (2)
Nice I check that