Node Red REST Client - Asynchronous HTTP Request and Response

356 views
Skip to first unread message

Mandeep Ahuja

unread,
May 5, 2017, 9:35:18 AM5/5/17
to Node-RED
Hello all,

I am trying to use NODE RED to make asynchronous HTTP calls to a REST endpoint. They Key here is being asynchronous "MES exchanges are asynchronous. There is no guarantee that the first request will get the first response. The MES can and does process parallel requests." 

So how may I handle this situation in Node Red? Please help!

The reason I am using NODE RED is because I also need an OPC UA Client. The OPC UA Client will Read tags from the PLC and then send a REST request to the MES system. On getting a Response from the MES system the OPC client will then write the tags in the PLC.

Regards

Jeff Tapia

unread,
May 5, 2017, 4:34:33 PM5/5/17
to Node-RED
I can't help you here but wanted to mention that I had difficulty getting OPC UA to work on Node-RED.
It might have just been that I was doing something wrong but you may want to try the OPC side of your challenge to make sure that isn't a dead end.

Colin Law

unread,
May 6, 2017, 3:40:08 AM5/6/17
to node...@googlegroups.com
What is MES? I would have thought that the http request node should
handle it ok. It should match up requests and responses for you. Does
it not work?

Colin
> --
> http://nodered.org
>
> Join us on Slack to continue the conversation: http://nodered.org/slack
> ---
> You received this message because you are subscribed to the Google Groups
> "Node-RED" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to node-red+u...@googlegroups.com.
> To post to this group, send email to node...@googlegroups.com.
> Visit this group at https://groups.google.com/group/node-red.
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/node-red/4fcc0e3d-5221-40c4-8487-2735ededfd70%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages