The best way to integrate cloud-connected devices is ST Schema which uses NodeJS and you can send REST commands from there and translate the response into the corresponding capability events.
Here’s a tutorial about how to create a ST Schema Connector, you can use it as a template and add the REST commands:
Please, let me know if you have any questions or need help.