Is there anyone working with WebDev Module in Ignition before? Our team is currently doing a project that requires Ignition to “put or pass” a gz format file from local pc to a given URL using RESTful. I scan through the user manual and realize there is nothing much related to this matter.
This module allows you to read data from ignition into a browser for display an HTML page but it can be modified to process put command
Hope it helps !
Hi Pramanj, we don’t required a UI to perform this action. In fact, we need to perform this action (put gz format file to a given URL by scripting) at a certain time daily.
Maybe I didnt make that clear enough. Let me clarify that with you. The thing our team trying to do is, Ignition (Vision) will perfrom a RESTful service to pass/put the gz format file stored in local pc to a given URL(Dell Boomi)
Restful web services using webdev allows you to interact with only ignition server from a web browser client . Though it’s possible to communicate between ignition server and other server using system.net.httpGet Put functions !
You don’t need the Webdev module at all. Webdev is used to expose Ignition’s webserver to other HTTP clients (RESTful or otherwise); you can use Webdev to create your own API that other services talk to.
If you just need to perform web calls, then, as @PRAMANJ mentioned, there are existing scripting functions to do so. If you’re on a newer 8.0.X version, then I highly recommend system.net.httpClient; your script might be as simple as:
I see. At first I thought the WebDev module is developed so that you can communicate with other server, now I know what is it developed for. Probably I miss out something in the user manual. Thanks for letting me know about that. Thanks again
I see. So can I say that the Webdev module enables ignition service to interact with external systems through web service calls?
From what I know for the project we are developing, we are required to send the gz format file to a given URL every day at a certain time. So the Ignition build in system.net.httpClient able to achieve that? Yes, you are right. We are new to Ignition 8.0.X. I am currently looking into the link you share with us. Thanks for the help and reply. =)