# Should node-red nodes use HTTP request() or got()?

**URL:** <https://discourse.nodered.org/t/should-node-red-nodes-use-http-request-or-got/25392>\
**Category:** Developing Nodes\
**Created:** [24 April 2020 03:20 UTC](https://discourse.nodered.org/t/should-node-red-nodes-use-http-request-or-got/25392 "2020-04-24T03:20:38Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [24 April 2020 12:51 UTC](https://discourse.nodered.org/t/should-node-red-nodes-use-http-request-or-got/25392/3 "2020-04-24T12:51:01Z")

</div>

The `request` module is now deprecated and will no longer be receiving _any_ fixes.

No new code should be written using `request` and an alternative should be picked.

There are lots of candidates. The `got `module provides this comparison chart that, perhaps unsurprisingly, puts `got` ahead of the others - [https://github.com/sindresorhus/got#comparison](https://github.com/sindresorhus/got#comparison)

I don't have a strong opinion about it yet, but we do have an open issue to migrate the core HTTP Request node to something: [https://github.com/node-red/node-red/issues/2481](https://github.com/node-red/node-red/issues/2481).

If anyone in the community wanted to find a way to start contributing, this would be very welcome first issue to tackle.... The hard part is ensuring 100% compatibility with the node's current behaviour with the `request` module. Just let us know before you start playing with it.

---

_[View the full topic](https://discourse.nodered.org/t/should-node-red-nodes-use-http-request-or-got/25392)._
