HTTP (HyperText Transfer Protocol) is a communication protocol used for exchanging data on the web. It operates on a client-server model which means clients send requests, and servers respond to those requests.
Clients request resources using HTTP, and these requests are transmitted to the server through the TCP/IP protocol. The server then responds using HTTP, and the response, transmitted through the TCP/IP protocol, reaches the client.
An HTTP request is the way Internet communications platforms such as web browsers ask for the information they need to load a website.
A URL(Uniform Resource Locator) is the address of a specific resource on the network.
GET
: Retrieve data.PUT
: Replace a resource or create it if it doesn't exist.PATCH
: Apply partial modifications to a resource.POST
: Submit data to be processed, often used to create or update a resource.DELETE
: Request the removal of a resource.