This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
http_get_custom [2021/07/13 11:10] emozolyak |
http_get_custom [2021/07/13 11:10] (current) emozolyak |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== HTTP request implemention using custom protocol ====== | ====== HTTP request implemention using custom protocol ====== | ||
The following example sends a HTTP string template to the TCP port upon the register change in the custom protocol. | The following example sends a HTTP string template to the TCP port upon the register change in the custom protocol. | ||
- | Once the response comes, is is copied in the 'response' | + | Once the response comes, is is copied in the //response// global variable which is returned to the system with the **readRegister** function. |
<code lua> | <code lua> |