How to make REST API calls using Leapwork?

How to make REST API calls using Leapwork?

Web services based on REST Architecture, commonly known as REST-ful Web Services use HTTP methods to implement the concept of REST architecture. It can be used in a variety of messaging systems and can be delivered via a variety of transport protocols. Leapwork supports making the REST request using the HTTP Request building block.

Users can perform operations to Create/Read/Update/Delete data (CRUD operations) using REST API methods viz. POST/GET/PUT/DELETE requests. To perform REST API calls, the following four things are required in Leapwork.

Please see below an example of an HTTP Request block with various fields populated.

You can download the attached case and try it out yourself by importing the case in Leapwork. Read here: How to Export and Import test

For any clarification, please contact our Priority Support.

Attachments:

Rest_API_Example.zip