Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
May 16, 2021 02:39 pm GMT

What is HTTP All about HTTP(Part 1)

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.

Alt Text

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.


Original Link: https://dev.to/nikhil27b/what-is-http-all-about-http-part-1-4mf3

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To