# cURL in Node red

**URL:** <https://discourse.nodered.org/t/curl-in-node-red/58628>\
**Category:** General\
**Created:** [18 February 2022 23:27 UTC](https://discourse.nodered.org/t/curl-in-node-red/58628 "2022-02-18T23:27:07Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [19 February 2022 06:53 UTC](https://discourse.nodered.org/t/curl-in-node-red/58628/3 "2022-02-19T06:53:31Z")

</div>

Just in case it helps - here is a link to a recent thread about converting curl to http request - might hel - might not

> [@Translation of Curl command to HTTP Request](https://discourse.nodered.org/t/translation-of-curl-command-to-http-request/52101):
>
> Hi, Looking for some help, Trying to talk to a GL.iNet Router and having problems. I am just not grasping this - it should be so simple!! I have been trying to convert a Curl command (which does work) to an HTTP Request for the last few days and am rapidly losing my fingerprints! POST gets me a 200 response, but the password is not being read (among other diagnostics) "{"code":-1,"msg":"Token is null"}" curl \<IPADDRESS\>/api/router/login -d "pwd=XXYYZZAABB" Would really be grateful for some…

---

_[View the full topic](https://discourse.nodered.org/t/curl-in-node-red/58628)._
