If it is necessary to transmit or, by the opposite, to load data from an external service in the business logic implementation, sending HTTP requests may be used.
For that, the command "Make HTTP request" should be added on entering in the state of an automation scenario or on exit from it. By clicking on this command, the sidebar will appear to configure the request. There may be set:
Based on filling these fields after saving all changes, the HTTP request will be configured taking into account rules of its structure forming. As a result, after the final state machine starting, the HTTP request will be sent to the external service and actions, specified in the request, will be fulfilled when the object will be in the corresponding state.
Thus, using the HTTP requests may allow realizing the interaction with the external services such as mobile and web-applications, CRM and ERP systems, etc. Eventually, it can lead to expanding the functionality and possibilities of developed IoT project.