Update a flow using http request

Dear all,

I want to update a flow using the http request node via nodered's API admin.
Is this possible?
I found some documentation but I am having difficulty to understand it.

As per doc, I can use the PUT/flow/:id to update a specific flow.

However, I cannot see where to put the JSON data on my http request node.
As per document, I need to add this data onto the http request:

But the http request node only have this configuration:
image

So basically what I want to do is, update the flow using the nodered http request.

Hoping for your guidance.

Regards,
Henjoe

Hello ..

The http-request node has an input that can accept a msg.
The body of the request is sent using msg.payload
( You could use a preceding Inject, Change, Function or any other node to construct a msg.payload. )

If you select the http-request node and view its Help tab on the side window
you get a detailed explanation of all the properties that you can set for that node.

image

I see!
Thanks my friend!
I mislooked in the documentation.

image

Regards,
Henjoe

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