Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 1709

Help: Rainmeter Skins • Re: HTTP POST with curl to get values from my router over UPnP

$
0
0
I want to do a HTTP POST with curl. I have learned here I cannot use the WebParser for this.
I also found a Plugin but I was not able to get it running (error 126?).

My curl is working in a cmd.

I put it with a RunCommand in Rainmeter and it will not work.

RunCommand with Parameter calc.exe will also do nothing.

Where is my fault?
You are so close! The RunCommand plugin is all you need; as you found, WebParser is only for GET.

The RunCommand measure you have appears correct, but what you missed is that this plugin needs to be invoked by something, it does not execute by itself. So somewhere in your skin, add a button or action to invoke the command. For example,

Code:

LeftMouseUpAction=[!CommandMeasure measureTest "Run"]
This will run the command defined by the [measureTest] measure. After it runs, the string value of this measure will contain the curl output.

Statistics: Posted by SilverAzide — Today, 12:15 am



Viewing all articles
Browse latest Browse all 1709

Trending Articles