Where in n8n is "Postman"?
In n8n, the equivalent of Postman is the HTTP Request node.
✅ What You Can Do in the HTTP Request Node (Like Postman)
Just like in Postman, the HTTP Request node in n8n allows you to:
-
Choose HTTP methods: GET, POST, PUT, PATCH, DELETE
-
Set the URL: Enter your API endpoint
-
Add Headers: e.g.,
Authorization,Content-Type -
Send query parameters
-
Send JSON or form-data in the body
-
View and use the response in later steps
🧱 How to Use It in n8n
-
Drag in an "HTTP Request" node
-
Set the method (e.g., POST)
-
Enter the URL (e.g.,
https://api.example.com/send) -
Under Headers, add key-value pairs like:
-
Key:
Authorization| Value:Bearer your_token -
Key:
Content-Type| Value:application/json
-
-
In the Body, select JSON and enter your payload.
📌 Example
To POST data to a webhook:
json
{
"name": "Tshiams",
"email": "example@email.com"
}
Set:
-
Method: POST
-
Headers: Content-Type = application/json
-
Body Content Type: JSON
-
Body Parameters: Add
nameandemailwith the values above
🧠 Bonus Tip
If you already tested your API in Postman, you can copy the request and replicate the same in n8n's HTTP Request node almost exactly.
No comments:
Post a Comment