API Testing Basics
API Testing Basics
What is API?
API (Application Programming Interface) is a computing interface which
enables communication and data exchange between two separate software
systems.
API Testing
CRUD is a cycle for keeping records current and permanent. The principles of the CRUD cycle are defined
as CREATE, READ/RETRIEVE, UPDATE, and DELETE.
We can achieve CRUD operations in Leapwork by using the HTTP Request block.
1. CREATE:
It is used to generate new records. Use the POST method to create a resource.
2. READ:
Using the GET method to implement the “R” in CRUD is straightforward. It reads the data based on input
parameters.
3. UPDATE:
Use the PUT method to create or overwrite a resource identified by a URI computed by the client. It is used to
modify the records.
4. DELETE:
It deletes a record where specified. When a resource is no longer useful, it can send a DELETE request to the
resource’s URI and delete that record.
Thank you