# Configure an http node

**URL:** <https://community.n8n.io/t/configure-an-http-node/105143>\
**Category:** Questions\
**Tags:** node, workflow-building, http-request, webhook\
**Created:** [April 23, 2025, 4:27pm UTC](https://community.n8n.io/t/configure-an-http-node/105143 "2025-04-23T16:27:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Theo\_Engler](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/theo_engler/32/75513_2.png) [@Theo\_Engler](https://community.n8n.io/u/Theo_Engler)\
**Post date:** [April 23, 2025, 4:27pm UTC](https://community.n8n.io/t/configure-an-http-node/105143/1 "2025-04-23T16:27:45Z")

</div>

Hello everyone,

I need help to configure an http node.  
I would like to be able to upload a binary file that I receive in my webhook into [GLPI](https://glpi-project.org/fr/) using the API.

## 1. GLPI API

After consulting the GLPI documentation, I found the method to use (below ⤵)

```auto
$ curl -X POST \
-H 'Content-Type: multipart/form-data' \
-H "Session-Token: MySessionToken" \
-H "App-Token: MyAppToken" \
-F 'uploadManifest={"input": {"name": "Uploaded document", "_filename" : ["file.txt"]}};type=application/json' \
-F 'filename[0]=@file.txt' \
'http://path/to/glpi/apirest.php/Document/'

```

So I decided to test it first with a simple curl to make sure the API was working properly.

To do this, I ran the following curl (which I adapted for a Windows CMD) ⤵

```auto
curl -X POST ^
  -H "Session-Token: MySessionToken" ^
  -H "App-Token: MyAppToken" ^
  -F "uploadManifest={\"input\": {\"name\": \"Test\", \"_filename\": [\"test.txt\"]}}" ^
  -F "filename[0]=@C:\Users\x\Downloads\test.txt" ^
  https://myglpi.com/apirest.php/Document

```

It worked perfectly ✅

```auto
{"id":110768,"message":"Item successfully added: Test (110768)","upload_result":{"filename":[{"name":"6808f8d90ae8a2.47080004test.txt","size":3250,"type":"text/plain","url":"https://myglpi.com/files/6808f8d90ae8a2.47080004test.txt","deleteUrl":"https://myglpi.com/apirest.php?filenam=6808f8d90ae8a2.47080004test.txt","deleteType":"DELETE","prefix":"6808f8d90ae8a2.47080004","display":"test.txt","filesize":"3.17 KiB","id":"docfilename2129973353"}]}}

```

So I’m sure the API is working properly ✅

## 2. My Workflow

So I made my flow and configure my nodes but I can’t get the same result.

All I do is have errors that I don’t understand.

## 3. Output ❌

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/f/7/f7b7d6c9e410d847cc65a23f7f09c1d909e40d2b.png)

I’m 99% sure it’s a “ fake error ”.  
But therefore it doesn’t help me find the problem …

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/5/f/5fb9a5a4db5bfb8cb81298ffd93c6d54842b360e.png)

## 4. Information on my Self-Hosted n8n setup

- **n8n version:** 1.89.2 (Self-Hosted)
- **Database (default: SQLite):** default
- **n8n EXECUTIONS\_PROCESS setting (default: own, main):** default
- **Running n8n via (Docker, npm, n8n cloud, desktop app):** docker desktop
- **Operating system:** windows

I’d be very grateful if someone could tell me what I’m doing wrong or how I’m supposed to configure my http node.  
Thank you in advance to anyone who takes the time to help me. 😀

ENGT

PS: I’ve replaced the tokens and url for security reasons

---

<div class="post-metadata">

**Author:** ![Theo\_Engler](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/theo_engler/32/75513_2.png) [@Theo\_Engler](https://community.n8n.io/u/Theo_Engler)\
**Post date:** [April 23, 2025, 4:39pm UTC](https://community.n8n.io/t/configure-an-http-node/105143/3 "2025-04-23T16:39:49Z")

</div>

Hello,

Thank you for your comment.

The file weighs 4 KB, it’s a small test .txt.

When I made the Curl I used the same file and it worked.

(That’s why I assume it’s a false error)

Regards,

ENGT

---

<div class="post-metadata">

**Author:** ![jcuypers](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jcuypers/32/54965_2.png) [@jcuypers](https://community.n8n.io/u/jcuypers)\
**Post date:** [April 23, 2025, 4:44pm UTC](https://community.n8n.io/t/configure-an-http-node/105143/4 "2025-04-23T16:44:32Z")

</div>

Hi,

Yes thank you, i saw it afterwards. my apologies.

BTW i saw that your upload manifest is not the same as the one in your curl  
the part with application/json is missing.

ok, i saw you mix and match things… to keep things simple 🙂

reg,  
j.

---

<div class="post-metadata">

**Author:** ![Theo\_Engler](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/theo_engler/32/75513_2.png) [@Theo\_Engler](https://community.n8n.io/u/Theo_Engler)\
**Post date:** [April 24, 2025, 3:14pm UTC](https://community.n8n.io/t/configure-an-http-node/105143/6 "2025-04-24T15:14:09Z")

</div>

Hello,

I found a solution by using other nodes and changing my workflow

1. I had to build a custom image of n8n + curl, so that I could curl from my container.
2. Then write the file I get from the webhook into my container, read it and get a file path. (which I couldn’t get from my webhook)
3. And finally, curl from the “execute command” node.

**I’d be very interested to know if I’m just bad or if what I wanted to do in the first place just isn’t possible with an http request node. (And if that’s not possible, how can I ask for it to be developed in the future?)**
