Learn how to configure HTTP headers using the new UiPath HTTP Request activity. In this tutorial, we explore how APIs use headers and demonstrate how to configure multiple request headers while retrieving repository information from the GitHub REST API.

**In this video:**
- What are HTTP headers?
- Why do APIs use headers?
- Understanding header names and values
- Configure multiple headers in UiPath HTTP Request
- Execute a GitHub REST API request
- Retrieve and inspect the API response
- Understand the HTTP response status code

**Practical Example – GitHub REST API**

**Endpoint:**
```text
https://api.github.com/repos/microsoft/PowerToys
```

**HTTP Method:** GET

**Request Headers:**

| Header | Value |
|---|---|
| Accept | application/vnd.github+json |
| X-GitHub-Api-Version | 2022-11-28 |
| User-Agent | AutomateWithRakesh |

**Note:** This example retrieves information about a public GitHub repository without using an Authorization header.

#UiPath #APIAutomation #automatewithrakesh

Recommended