# HTTP Request: Import from curl command

**URL:** <https://community.n8n.io/t/http-request-import-from-curl-command/13959>\
**Category:** Feature Requests (done)\
**Tags:** http-request\
**Created:** [May 13, 2022, 9:01pm UTC](https://community.n8n.io/t/http-request-import-from-curl-command/13959 "2022-05-13T21:01:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![drudge](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/drudge/32/13097_2.png) [@drudge](https://community.n8n.io/u/drudge)\
**Post date:** [May 13, 2022, 9:01pm UTC](https://community.n8n.io/t/http-request-import-from-curl-command/13959/1 "2022-05-13T21:01:38Z")

</div>

## The idea is:

Import a curl command as an HTTP Request node.

## My use case:

I need to create HTTP Request nodes for requests that I already have in curl format.

## I think it would be beneficial to add this because:

- curl commands are fairly portable and easy to parse.
- API documentation often provides example curl commands for dealing with the API.
- Most browsers provide the option to copy a request as a curl command.

## Any resources to support this?

- [npm module: curlconverter](https://www.npmjs.com/package/curlconverter)
- [Copy as curl](https://everything.curl.dev/usingcurl/copyas)

## Are you willing to work on this?

Yes

---

<div class="post-metadata">

**Author:** ![jan](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jan/32/9_2.png) [@jan](https://community.n8n.io/u/jan)\
**Post date:** [May 14, 2022, 11:13am UTC](https://community.n8n.io/t/http-request-import-from-curl-command/13959/2 "2022-05-14T11:13:16Z")

</div>

Welcome to the community @drudge!

Thanks a lot for the feature request! Agree, that would be helpful and we did discuss it internally already a few times.

I am also linking the following related request:

> [@Curl Node Request \[created\]](http://community.n8n.io/t/curl-node-request/8249/4):
>
> Sometimes when I cannot figure what the curl command at hand is doing, I would go to Postman, paste the curl request, and finally get the code snippet using the request library (check the image below). It is much easier to set up the n8n HTTP node since its design is based on the request library. I hope that makes sense.

---

<div class="post-metadata">

**Author:** ![jan](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jan/32/9_2.png) [@jan](https://community.n8n.io/u/jan)\
**Post date:** [October 3, 2022, 8:50pm UTC](https://community.n8n.io/t/http-request-import-from-curl-command/13959/3 "2022-10-03T20:50:58Z")

</div>

That is now possible with the latest n8n version `0.196.0`:

 ![Screenshot from 2022-10-03 22-49-36](https://europe1.discourse-cdn.com/n8n/original/3X/0/b/0b163a2b458ff44be22d387b46017f3976af3543.png)
