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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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?