RestAssurred: ------------- API ---- An (API) is an interface or communication protocol between client and server REST: ---- Endpoint/BaseURL: ------------------ -It's a address where API is hosted on the server Resources: ------------ API/collection which can be accessed from server Path Parameter: --------------- -Path Parameter are variable parts of a URL path. -They are typically used to point to a specific resource within a collection ,such as user identified by ID -Path Parameter are identified by / -Only one Path parameter is present in base url Query Parameter: ---------------- -Query parameter is used to sort/filter the resources -Query parameters are identified by ? -Each query parameter seperated by & Endpoint Request URL formation: --------------------------------- BaseURL/Resources/(Query/Path)Parameters Headers: ------- -Headers represents meta data associated with the API req & res -We we sending addition details to API to process our request Http Methods: --------------- -Get,Put,Post,Delete Get: ----- -Used to retrive data from server using a given URI -No need Body/payload to pass input -Send the input data through Query parameter or path parameter Post: ----- -Send a data to server Put: ----- -Replace the existing data in server Delete: -------- -Remove all data in server given by a uri