Using a node inside a custom node

I would like to create custom node that works with a specific framework. That framework needs to be iconfigured/consumed using REST. No to "reinvent the wheel", Is there any way to use www.request node from inside the custom node?

Yes. Add your preferred library in the package.json dependencies.

I would probably recommend against request as it is in maintenance mode.

Choose got or axios instead :+1:

Thank you for the fast reply!

I was asking not for a nodejs library but for a node-red node. I think it would be interesting if it was possible to use a node so I could pass "msg" with all request information and receive the response the same way.

If not for sure I would use axios, thanks for the recommendation.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.