Hi Team,
I’m pretty new to Losant. I have integrated Losant with an api data source. Im storing and processing the data in Losant.
Data Source (Api) --> Losant —> Cloud (Rest Api)
After I process the data on Losant, I need to post the mutated data to another rest server hosted on another cloud. I have been trying with module Output> HTTP. But I think Im doing something wrong.
Let us say below is the request URL to which info has to go from Losant.
http://x.x.x.x:3000/api/LUpdate
and below is the curl input that needs to be accompanied.
curl -X POST --header ‘Content-Type: application/json’ --header ‘Accept: application/json’ -d ‘{ \
“$class”: “resource:abcd.com.LUpdate”, }’
What components should i use and how to post the mutated data update of a device to rest server in the downstream cloud server using rest api?
Thanks,
Abilash S