Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2innnnn0 opened this issue Nov 9, 2024 · 1 comment
Open

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

2innnnn0 opened this issue Nov 9, 2024 · 1 comment
Labels
in linear Issue or PR has been created in Linear for internal review

Comments

@2innnnn0
Copy link

2innnnn0 commented Nov 9, 2024

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
Copy link
Member

Joffcom commented Nov 9, 2024

Hey @2innnnn0,

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

@Joffcom Joffcom added the in linear Issue or PR has been created in Linear for internal review label Nov 9, 2024
@2innnnn0 2innnnn0 changed the title Import cURL not working in HTTP Request Node Import cURL Only "data-urlencode" not working in HTTP Request Node Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in linear Issue or PR has been created in Linear for internal review
Projects
None yet
Development

No branches or pull requests

2 participants