Some most common HTTP methods that you come across while doing API testing.
Browser uses these methods in the background to get you the information you see on screen.
It’s important to know these HTTP methods. in this post we will discuss the major one, though there are many
Applications designed uses Web APIs which are being called to bring data from databases and show you the response on UI.
Subscribe to my Channel
So, stress is given on doing API testing so you can catch the problems where they are (Wrong information on UI). Actual reason is API is returning wrong info(sometimes).
Concepts
let’s first understand some concepts which can help us in perspective to the methods
Note:- if you find any mistakes in this post, do comment, or ping me on LinkedIn, I will correct it.
Get
Post
Patch
Delete
Head
Options
All major HTTP methods in single mind Map
You can read more stuff related to testing at this link(Testing tab) in home page
While doing Test Automation too, the knowledge of these methods is necessary to form various scenarios.
Example: – What if you pass POST, instead of GET, you should get 405 Method not allowed error.
It depends on implementation/context as well to mold these methods. But being a tester these questions we should be asking and try it out.
There is another post related to API testing which talks about HTTP status codes with Pneumonic to easily remember all major Status codes
If you like the post, do subscribe to my channel and blog. You may leave a comment too for any corrections/suggestions/appreciation
Subscribe to my Channel
Hello! My name is Gaurav Khurana. I have 12+ years of experience as a Software Tester. Won the Tester Of the Year Award 2022. Currently working for Microsoft. Worked in 2 MNCs. A youtuber and blogger and worked on *nix and windows based apps for telecom & insurance domain. Used Selenium, Serenity-bdd, RestAssured, AzureDevOps, Karate, SoapUI, Perl, Shell scripting, Postman, TestProject for automation,etc along with excel. Udzial is a polish word which means share. I believe in #SharingIsCaring.
One thought on “HTTP Methods”