GET /POST / PUT / PATCH / DELETE Request Explained | HTTP Methods [Hindi]

Описание к видео GET /POST / PUT / PATCH / DELETE Request Explained | HTTP Methods [Hindi]

GET /POST / PUT / PATCH / DELETE Request Explained | HTTP Methods [Hindi]

✅ What is GET Request?
The HTTP GET method is used to read (or retrieve) a representation of a resource. In the “happy” (or non-error) path, GET returns a representation in XML or JSON and an HTTP response code of 200 (OK). In an error case, it most often returns a 404 (NOT FOUND) or 400 (BAD REQUEST).

✅ What is POST Request?
The POST verb is most-often utilized to create new resources. In particular, it's used to create subordinate resources. That is, subordinate to some other (e.g. parent) resource. In other words, when creating a new resource, POST to the parent and the service takes care of associating the new resource with the parent, assigning an ID (new resource URI), etc.


✅ What is PATCH Request?
PATCH is used for modify capabilities. The PATCH request only needs to contain the changes to the resource, not the complete resource.


✅ What is Delete Request?
DELETE is pretty easy to understand. It is used to delete a resource identified by a URI.


✅ What is PUT Request?
PUT is most-often utilized for update capabilities, PUT-ing to a known resource URI with the request body containing the newly-updated representation of the original resource.

However, PUT can also be used to create a resource in the case where the resource ID is chosen by the client instead of by the server. In other words, if the PUT is to a URI that contains the value of a non-existent resource ID. Again, the request body contains a resource representation. Many feel this is convoluted and confusing. Consequently, this method of creation should be used sparingly, if at all.

✅ Put VS Patch vs post
POST creates an item in a collection. PUT replaces an item. PATCH modifies an item.

🚀 Welcome to NonCoderSuccess! In this video, we dive deep into Which Programming Language You Should Choose.

🔍 What You'll Learn:
What are HTTP Methods

⏰ Timestamps:
00:00 What are HTTP Methods

👍 Connect with NonCoderSuccess:
Facebook -   / bhaiyajivlogs0007  
​Instagram -   / bhaiyajivlogs  
Discord -   / discord  
What’s up Channel - https://whatsapp.com/channel/0029VaC6...

For Business Work - ([email protected])

🔔 Subscribe for More:
Don't miss out on future videos! Hit the subscribe button, turn on notifications, and join our growing community for regular updates.

🎥 Watch Next:
   • What is inside the HTTP Header | Real...  

🙏 Thank you for watching!
Your support means the world to us. Remember, success extends beyond coding, and we're here to guide you on that journey. Like, share, and subscribe for more content that empowers you on your path to success!

Subscribe And Like This Video😍🤗
Lots Of love ❤
Thanks For Watching This video 😍
#https #https #httpvshttps

Комментарии

Информация по комментариям в разработке