What is HTTP://?

What is HTTP://?

ยท

2 min read

HyperText = This type of text links to different types of URLs and different pages and this is the main difference between hypertext and normal text. We can add links to the Hypertext. So, in more detail, hypertext is a series of text documents that are linked to each other via hyperlinks. So HTTP is a protocol to transfer hypertext from web-server to the web browser and click the links and navigate to different pages.

-Full form of HTTP HyperText Transfer Protocol -Communication between web servers and clients -HTTP Requests/Responses Cycle. -Loading Pages, form submit, ajax calls.

HTTP is Stateless; -Every request is completely independent. -Similar to transactions -Programming, Local Storage, Cookies, Sessions, are used to create enhanced user experiences.

*HTTP -Hypertext transfer protocol secure -Data sent is encrypted -SSL/TLS = secure sockets layer/transport security layer -Install certificate and web host.

*HTTP methods -Get = retrieves data from the server -Post = Submit data to the server -Put = Update data already on the server -Delete = deletes data from the server

*HTTP Status Codes -1xx : Informational - Request received/processing -2xx: Success - Successful Received, understood, and accepted. -3xx: Redirect - Further action must be taken/redirect. -4xx: Client Error - Request does not have what it needs. -5xx: Server Error - Server failed to fulfill a valid request.

-200 = ok -201 = ok created -301 = moved to new URL -304 = Not Modified(Cached version) -400 = Bad request -401 = Unauthorized -404 = Not Found -500 = Internal server error

*HTTP Version - 2

  • Major revision of HTTP
  • Under the hood changes
  • Respond with more data
  • Reduce latency by enabling full request and response multiplexing.
  • Fast, efficient ,and secure.
ย