Describe the problem/error/question
I need to execute an HTTP request with form-data, where for 1 of the fields a content type is specified.
In Postman it look like following
When I create a cUrl snippet from this request in Postman - it look like this:
curl --location ‘http://someUrl’ \
–form ‘data=“Some sample text about some very important topic”’ \
–form ‘params=“{\“projectId\” : [\“1223\”], \“showMatchingDetails\”:true, \“showMatchingPosition\”: true}”;type=application/json’
Please note the type of the params field at the end.
So when I create a simple workflow with HTTP Request - I do not see where can I specify the content type of the params field:
When I execute the workflow - I got an error that Content-Type is wrong.
I also tried with Form-Data - the same error:
I also tried import the cURL - same error.
So my question is - is there any way to specify a Content-type for a specific field in form-data request ?
What is the error message (if any)?
500 - “{\“voidResponse\”:{\“success\”:false,\“status\”:500,\“message\”:\“Content-Type ‘application/x-www-form-urlencoded’ is not supported\”,\“resultType\”:\“text/plain\”,\“result\”:null}}”
Please share your workflow
Share the output returned by the last node
Information on your n8n setup
- n8n version: 2.21.7
- Database (default: SQLite): Postgres
- n8n EXECUTIONS_PROCESS setting (default: own, main): own
- Running n8n via (Docker, npm, n8n cloud, desktop app): docker
- Operating system: Windows


