Creating REST APIs for your IoT automation

3:09 PM
Creating REST APIs for your IoT automation -

Have you ever wanted to create your own REST API, the numerous Internet of Things (IoT) automation or system updates and releases returns a response with data?

Citrix Octoblu has always supported webhook our trigger node Forgot Fire and IoT automations to run. Now you can use triggers in your Octoblu flows as entry points into your own REST API requests. Just copy paste the HTTP POST URI in your favorite text editor to the cause and to change the trigger subdomain "rest". This service is now holding open the HTTP request until the answer will send your HTTP POST back to the pending request of the user.

Screen Shot 2016-04-15 at 3.52.31 PM

Add a Compose node ready for the end of our cruise your response data. {{}} Msg.callbackUrl

Screen Shot 2016-05-02 at 10.59.48 AM

now: In addition to setting back the new key with your data, you will also need to specify a key called CallbackURL with the following value a HTTP -POST node the message back to the request and enter your desired data in the response body.

Screen Shot 2016-05-02 at 11.02.48 AM

it is :) Click on the play button at the top Add to send right side of Octoblu designers use your automation. Now you can use your new API like this lure:

curl -X POST https://rest.octoblu.com/flows/5ef6cbd0-7119-4a9e-aa16-7dbf849aecda/triggers/18e91540-0359-11e6-9ebc-3f26b59ca2ce

The curl of my flow should the temperature in sunny Tempe, Arizona as back follows:

{ "temperature": 75.765}

We can not wait, to see what you Octoblu IoT platform!

We hope you can join us in person at Citrix Synergy 24-26 May Octoblu to experience in Las Vegas, in person at the trial sandbox! [1945014mitCitrixbauen]

Meanwhile, for more posts stay tuned demonstrates how Citrix Octoblu automating those workflows XenApp, XenDesktop, XenMobile, storefront, Share File, Right Signature, director and NetScaler ! and feel free for Octoblu services and logs and start your business processes today automate!

Synergy Banner

Previous
Next Post »
0 Komentar