Postman for API Testing

1Postman >JSON :- (JavaScript Object Notation)
     “Object1” : [
                           { “keyA” : value, “keyB” : value },
                           { “keyA” : value, “keyB” : value }
                         ]

     “Object2” : { 
                           “key1” : value, 
                           “key2” : value 
                         }
}
Object – Data get & put
URL:Baseurl/endpoint
QuerryParamsKey / Value Pairstart with ?If you want to add multiple query parameters, an ‘&’ sign is placed in between them to form what is known as a query string.https://example.com/articles?sort=ASC&page=2
METHOD:GET, POST, PUT, DELETE, PATCHPUT is used to update all data and PATCH is used to update partial datafor POST, use body > x-www-form-urlencoded
BODY:raw > JSON
API Codeshttps://restfulapi.net/http-status-codes/1xx: Informational – Communicates transfer protocol-level information.
2xx: Success – Indicates that the client’s request was accepted successfully.
3xx: Redirection – Indicates that the client must take some additional action in order to complete their request.
4xx: Client Error – This category of error status codes points the finger at clients.
5xx: Server Error – The server takes responsibility for these error status codes.
API ContractIt is the document which have all the details for API’s
JSON Pretty Format Converterhttps://jsonformatter.org/json-pretty-print
Sample API’s for Testing : Linkhttps://reqres.inhttps://dummy.restapiexample.com
Psotman Tutorialhttps://www.tpointtech.com/postmanRead about authorization, Cookies, Asserts & Collections in Postman