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

  1. Drag in an "HTTP Request" node

  2. Set the method (e.g., POST)

  3. Enter the URL (e.g., https://api.example.com/send)

  4. Under Headers, add key-value pairs like:

    • Key: Authorization | Value: Bearer your_token

    • Key: Content-Type | Value: application/json

  5. 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

  • URL: https://yourapi.com/endpoint

  • Headers: Content-Type = application/json

  • Body Content Type: JSON

  • Body Parameters: Add name and email with 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