Ewon Technical Forum

Full Version: Updating IOTag value via POST request
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Greetings,

I am currently trying to find a way to change the value of an IOTag via a POST request.
For this, I am currently using the "rg-0003-00-en-web-refenrece-guide", section 1.4.1, but even when I try the examples, the tag that I want to change does not update.
I have tried different tags and different syntaxes for the request's body, unfortunately, the outcomes are the same: a page with the word "Loading..." on it or another one with "Done".

I have already worked with retrieving data from the device via GET requests and it worked like a charm, with this I am a little stuck.

I remain at your disposal for further clarifications.

Thanks.

P.S. I am using Postman for making the requests.
Hello,

To update tags, you must use the webform "/rcgi.bin/UpdateTagForm"

Ex : http://192.168.120.91/rcgi.bin/UpdateTag...Name1=MEM1&TagValue1=125.3&TagName2=MEM2&TagValue2=15

It must work in GET and POST.

Simon
Works like a charm.
Thank you very much.