# How to perform CRUD operations using REST API?

Users can perform operations to **Create/Read/Update/Delete data (CRUD operations)** using **REST API methods viz. POST/GET/PUT/DELETE requests** within Leapwork.

### To perform REST API calls, the following four things are required in Leapwork.

1. ### CREATE:
   
   To create resources in a REST environment, we most commonly use the HTTP POST method. POST creates a new resource of the specified resource type.

2. ### READ:
   
   To read resources in a REST environment, we use the GET method. Reading a resource should never change any information - it should only retrieve it.

3. ### UPDATE:
   
   It updates the resource and can also be used to create a resource sometimes using the PUT method from the HTTP Request block.

4. ### DELETE:
   
   The CRUD operation "Delete" corresponds to the HTTP method DELETE. It is used to remove a resource from the system.

**For any clarification, please contact our [Priority Support](mailto:prioritysupport@leapwork.com).**

**Attachments:**
   
- [POST_Request-REST_API.zip](https://leapworkaps.file.force.com/sfc/dist/version/download/?oid=00D7Q000003Qjj6&ids=0687Q000004sB4K&d=%2Fa%2F7Q000000cAqd%2F50kajYmdMukTLtRQsIPq4SW0zo4h5jsd2.WrNzLNhSA&asPdf=false)
- [GET_Request-REST_API.zip](https://leapworkaps.file.force.com/sfc/dist/version/download/?oid=00D7Q000003Qjj6&ids=0687Q000004sAxy&d=%2Fa%2F7Q000000cAav%2F.R0brkJ.XgEC6kxx0HE12xNMzowLPEIjOMEa0Klnh3k&asPdf=false)
- [DELETE_Request-REST_API.zip](https://leapworkaps.file.force.com/sfc/dist/version/download/?oid=00D7Q000003Qjj6&ids=0687Q000004sB0e&d=%2Fa%2F7Q000000cB1W%2FNcPXPu_VasZBDQsmkmnmrkKlmZLdI55IK6E.8q3x_Wc&asPdf=false)
- [PUT_Request-REST_API.zip](https://leapworkaps.file.force.com/sfc/dist/version/download/?oid=00D7Q000003Qjj6&ids=0687Q000004sB4P&d=%2Fa%2F7Q000000cB3C%2FputBBvrialLau7eEYtxHFBGTjLpE7pqNOsAxYdrXcuc&asPdf=false)
