n8n-io / n8n

Free and source-available fair-code licensed workflow automation tool. Easily automate tasks across different services.
https://n8n.io
Other
48.95k stars 7.77k forks source link

Import cURL Only "data-urlencode" not working in HTTP Request Node #11662

Open 2innnnn0 opened 1 week ago

2innnnn0 commented 1 week ago

Bug Description

I found this while using the linkedin API. When I executed the import cURL with the following contents in the HTTP Request node, the values corresponding to the data-urlencode were not populated. I manually entered it separately and confirmed that it was executed, but I don't know why the value was not automatically entered via import cURL.

curl --location --request POST 'https://www.linkedin.com/oauth/v2/introspectToken' \
    --header 'Content-Type: application/x-www-form-urlencoded' \
    --data-urlencode 'token=<TOKEN>' \
    --data-urlencode 'client_id=<ID>' \
    --data-urlencode 'client_secret=<Secret>'
image

To Reproduce

  1. select HTTP Request node
  2. click the import cURL button
  3. paste the cURL
  4. import

Expected behavior

Automatically entered the "data-urlencode" key and value.

Expected Result Image

image

Operating System

Ubuntu 20.04.6 LTS

n8n Version

1.64.3

Node.js Version

-

Database

SQLite (default)

Execution mode

main (default)

Joffcom commented 1 week ago

Hey @2innnnn0,

We have created an internal ticket to look into this which we will be tracking as "GHC-416"