Download HTTP_Client_Example.zip
With the function block "HTTP Client", http requests, as well as the resulting responses,
can be exchanged between a CODESYS controller and a web server.
The CODESYS software package includes a library with a function block for communicating
with a web server via HTTP.
The HTTP header of a request can be extended without any restrictions. The library is included
as source code in the CODESYS package.
Function block "HTTPClient"
Function block for sending http requests. The sample project HTTPClient.project
illustrates
how this function block is used.
Function "URLDecoder"
Function for coding and decoding URLs (percent encoding).
System requirements and restrictions | Info |
---|---|
Programming System | CODESYS Development System Version 3.5.14.0 or higher |
Runtime System | CODESYS Control Version 3.5.14.0 |
Required Accessories | - |