(Hindi) GET /POST / PUT / PATCH / DELETE Request Explained | HTTP Methods | Day 4
HTTP Methods like Put, GET, POST, PATCH , DELETE , OPTIONS explained in Hindi. This is part of the API Testing with Rest Assured Series.
✅ 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.
We are going to lean, HTTP in Hindi, This is Day 3 of the 30 days of API Testing challenge Series with Rest Assured.
Where will learn the Basics before jumping to API Automation.
✅ Download notes : sdet.live/notes
✅ What is HTTP?
HTTP stands for Hyper Text Transfer Protocol
WWW is about communication between web clients and servers
Communication between client computers and web servers is done by sending HTTP Requests and receiving HTTP Responses
✅ What’s in an HTTP request?
An HTTP request is the way internet communications platforms such as web browsers ask for the information they need to load a website.
Each HTTP request made across the Internet carries with it a series of encoded data that carries different types of information. A typical HTTP request contains:
HTTP version type
a URL
an HTTP method
HTTP request headers
Optional HTTP body.
✅ What is HTTP cookie?
An HTTP cookie (also called web cookie, Internet cookie, browser cookie, or simply cookie) is a small piece of data sent from a website and stored on the user's computer by the user's web browser while the user is browsing.
Read more - www.cloudflare.com/learning/d...
✅ Time Jump
🚀 All 30 Days Task - scrolltest.com/30days/restass...
📌 Join 30 Days Challenge Updates - scrolltest.com/tta
🎓 Free Automation MasterClass - thetestingacademy.com
📚 REST API testing with Python - masterapitesting.com
🔔 Join Facebook Group : scrolltest.com/fb
✅ Automation Tester Community - thetestingacademy.com
🐦Follow us on Twitter - / itstechmode
📖 Like us on Facebook - / scrolltest
🎤 Listen to our Podcast - anchor.fm/thetestingacademy
✅ What is covered in Rest Assured Tutorial or 30 Days of API Testing with Rest Assured Challenge?
- Learn How to Master API Testing with Rest API Testing with Rest Assured.
- Step By Step Tutorials
- Building your Own Custom Framework.
✅ What is Rest Assured?
REST Assured is a Java library that provides a domain-specific language (DSL) for writing powerful, maintainable tests for RESTful APIs. I'll be using real-world code examples you can copy, run, and reuse directly in your own test automation efforts
#restassured #restassuredtutorial #apitesting #api #automationtesting #manualtesting #testautomation #thetestingacademy #scrolltest
🚀 Tools and services I recommend:
Some of the courses that I recommend to become better Automation Tester 🙌🙌
🐦 Learn Jenkins for QA -
bit.ly/learnjenkins-p1
📸 Programming Java -
bit.ly/learnjava2020-p1
🌍 Test Automation -
bit.ly/learnautomation2020
💌 API Testing -
www.learnapitesting.com
🎙 Cypress Tutorial with LIVE Projects -
cypresstutorial.com
📝 REST API testing with Python -
masterapitesting.com
PS: Some of the links in this description are affiliate links that I get a kickback from 😜
#restassured #apitesting #hindiapitesting #apitestinghindi
Пікірлер: 40
Amazing explanation brother. Finally, I understand the concept of it!🖤
Amazing explanation, thank you sir
Thank you this such a informatics video ... thanks again keep it up.
Excellent...Nice Explanation sir..Thank you
Amazing video it's very helpful for beginners 🙂
Thank you so much bhai, very very helpful
Very nice video.. Thank you sir
Thank you so much bro!
Very nice explanation.
Very nice explanation sir
more videos needed .its verry usefull to me ,thanks bro
@TheTestingAcademyHindi
2 жыл бұрын
Welcome 👍
thank u sir. imp infor given to us. make more videos plz
Well explained
Thank you brother
Nice explanation 🤞
nice...we easily understand it...thanx👍
Great Lecture Sir!
@TheTestingAcademyHindi
Жыл бұрын
Keep watching
VERY INFIRMATIC VIDEO.THANK YOU. DAY 5?
Thank you sir your teaching skills is awesome ❤️
@TheTestingAcademyHindi
2 жыл бұрын
It's my pleasure
Very beautiful explanation 🙂
@TheTestingAcademyHindi
2 жыл бұрын
Thanks a lot 😊
bro you are genius.you solve all my queries..jazakallah. love from pakistan.
@TheTestingAcademyHindi
Жыл бұрын
Thanks Sir
Thanks 👍
@TheTestingAcademyHindi
2 жыл бұрын
Welcome 👍
Can we use "put" also for 1 field update only?
👍
Getting DOCTYPE html in api response how to resolve
good video sir
@TheTestingAcademyHindi
2 жыл бұрын
Thanks
But we can update by the post
What is the difference between post and put
noice brodar
cant find the slides
Zoom kr k btaya kro ap.
Teaching style is not Good