# Sample Flows

## Logic

## Data Oriented

## Practice Assignments

### How to achieve Basic authentication using HTTP request building block?

Basic Authentication is an authentication scheme built into the HTTP protocol. The client sends HTTP requests with the Authorization header that contains the word Basic followed by a space and a base64-encoded string username: password. For example, to authorize as "demo/p@55word", the client would send the authentication...

### How to make SOAP API calls using Leapwork

SOAP is an XML-based messaging protocol for exchanging information among computers. It is an application of the XML specification. It can be used in a variety of messaging systems and can be delivered via a variety of transport protocols. Leapwork supports making the SOAP request using the HTTP Request building block. User can perform...

### How to use Token based API authentication in HTTP block

Leapwork supports making the API request using the HTTP Request building block. In basic HTTP authentication, a request contains a header field of the form Authorization: Basic , where the token is the base64 encoding of id and password joined by a single colon (:). An API token is a unique identifier of an application requesting access...

### How to perform CRUD operations using SOAP API?

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 identified by a...

### 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. CREATE: To create resources in a REST environment, we most commonly use the HTTP POST method. POST creates...
