Using HTTP Request and API

I’m trying to understand the different ways of using API.
So far I have done a get and a post and it has worked.

Trying to use this

When I copy field values into this page and run, it works fine.

So I tried to fit it in


but I get an error

What is wrong?

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

@bally , I found this single StackOverflow post on the subject. Try using Headers manually. According to the API, the following two headers are expected

curl --request PUT \
     --url \
     --header 'accept: application/json' \
     --header 'content-type: application/x-www-form-urlencoded'

I expect the latter to be added automatically, but the “accept” header would be missing.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.