Feeding an external application expecting RESTful webservice
I opened an new topic, because I couldn´t find helpful informations about "restful" in the forum. I think that is an often chosen way to push data, so it would be cool to have an complete documentation for that.
Case: An external system expects data from mango. It uses RESTful webservices.
Here is the definition:
The datastructure looks like:
"value" : "10",
"type" : "27",
"status" : "1",
"smgwid" : "1",
"obis" : "1-0:1.8.0",
I tried to use the HTTP-sender method, but couldn´t find a successful way to get it going. Looking at Phil´s work from this topic
gives me hope that it could work, because he creates an URL with custom fields.
Has someone experiences with that method or suggestions how it could work with given system methods?
phildunlap last edited by
I just answered you in the original thread: http://infiniteautomation.com/forum/topic/2187/how-to-use-publishers-http-sender
thank you for the help. I will start with the implementation work now.
JoelHaggar last edited by
Mango has a RESTful API that you might be able to use. It will not automatically post data as you see here but it works like most normal API's where you request data. You can subscribe to web sockets to receive automatic data pushes when point values change.
See here for more information:
Thank you for the interesting news Joel!
I had a bit contact with swagger and will dive deeper now to get it going.