doc-burger

How to make use of the HTTP Request node in Peaka

Learn about the HTTP Request node in Peaka and how you can use it to make HTTP requests and handle response

This article provides an introduction to the HTTP Request node in Peaka, explaining its role in making HTTP requests and managing responses.

http request node view

What is the HTTP Request Node?

The HTTP Request node is a powerful feature in Peaka that allows you to send HTTP requests to external APIs or services and retrieve data. It supports various HTTP methods such as GET, POST, PUT, PATCH, and DELETE, and provides options for configuring request parameters, headers, request body, and authorization.


Using the HTTP Request Node

To use the HTTP Request node effectively, follow these steps:

  1. Insert an "HTTP Request" node into your workflow.

  2. Configure the details of the HTTP request by specifying the HTTP method, URL, request parameters, headers, request body, and authorization settings.

  3. After configuring the request, you can click on the "Send (Direct)" button to initiate the request. The result of the request will be displayed, showing the response data.

change details of the http request node
  1. If you want to extract specific data from the response, you can use the "Select Data" tab in the modal. This allows you to choose which data elements to capture. Variables will be created for the selected data, which you can view on the right side of the "Select Data" tab.
getting result data of http request node
  1. You can access the results of the HTTP request by using the variables created for the response data in your project.
changing output of http request node

Conclusion

The HTTP Request node empowers you to interact with external APIs and services seamlessly, making it a versatile tool for integrating data and functionality into your Peaka applications.