Hello, Friends, Welcome to the next lab. In this lab, we will learn how the HTTP request and response process. And the core idea of this course is to teach you how to make the request on the internet connection. Here, the image shows that this is our PC. This is client machine. It sends a request to the server, which is hosted on cloud.
And after that the request is processed by that server and the response we get back to the client not only over machine so client might be the web app, mobile app desktop app. Now, we are making the call or request for the HTTP, hypertext transfer protocol whether it is HTTP or HTTPS then I would request it divided into three pieces. First is a word from that header. And third one is a content. word means what is get, put, post, delete, these are well, but we mainly use GET, POST, put, delete. Okay, and headers, headers is the additional information about the request.
Content is if your simple GET request then there might be the content missing. But if you are sending some post request then it needs some parameter then it contains in this request body okay after sending the request, the server will process that request and send the response response as well the same pieces, but mostly in that there is a status code status code means what? whether our request is fulfilled or not. There are several different status code 204 okay 404 not found like that you can find on it how many types and what is the actual meaning of that code after that we will learn what is stands for forget means, you can request the server please give me that data for the most means, if you want to add some data or new resources my server let it then it is a post by means, if you want to add some employee data, add a new employee, then the request might be the post request.
After that put put it useful. If you want to update the data, complete data, then you can use put in if you want to change the name, address and salary of that employ by Emily simple same information ID took the same and after that you need to change All the parameters then you can use put, but if you want to update some only small amount of information like address only incomplete employee database for one employee, you can use patch. Then as per delete, you can no delete is for delete the content. Okay, so that's all about HTTP but thank you for watching