![Flex Scada Flexs Q5 Скачать руководство пользователя страница 22](http://html1.mh-extra.com/html/flex-scada/flexs-q5/flexs-q5_user-manual_2304310022.webp)
This PHP example shows how to
set a relay state on the flexsQ5.
The Q5 will respond with the
above reply indicating that the
state change was successful.
Using this same API endpoint it
is also possible to reset the soft
fuse, toggle the relay and toggle
the relay for a timed 10
seconds.
The example shown left can be
downloaded here:
https://pastebin.com/fsvaPpP4
In this manual we have only
shown examples written in PHP,
however the Q5 API can be
accessed from any code
language using the correct HTTP
requests.