AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Free instal Blank And Secure 7.672/28/2024 It can handle protocols like FTP, HTTP, HTTPS, LDAP, SMTP and many more. I chose to use the libcurl library which is an free easy-to-use client-sided transfer library. To make HTTP(S) requests a URL transfer library is needed, this library facilitates the functions needed to create a full request consisting of a URL request line, headers for authorization and a body with information (often in json format). I assume the reader knows how these requests work, what they are good for and how to use them. When one wants to use lets say a cloud service and wants to keep the communication completely client-sided, not using protocols like MQTT or AMQP, HTTP(S) requests become quite interesting to work with. NOTE: This is not a tutorial on how to use the libcurl library and how to set up a HTTPS request on the controller, this tutorial will only cover the installation of the library on the controller itself. The tutorial is mainly focussed on CMake and won’t include languages as C#, JSON or Java. I’ll go through the different steps and explain why these steps are needed, furthermore I’ll include all bash commands, pieces of code and side-notes concerning the installation. In this tutorial I will show you how to download, build and install a third-party open-source library, in my case libcurl, on your PLCnext AXC F 2152 controller.
0 Comments
Read More
Leave a Reply. |