Curl command failing in http GET Switch, works in cmd prompt

Trying to send a curl command in http GET Switch virtual device...it works fine in Windows cmd prompt, but fails when used in the http GET Switch device.

Odd thing is, the exact same curl commands that work in the Windows cmd prompt fail w/the http Get Switch driver. I copy them directly from the http Get device preferences into Windows cmd and they work there.

Windows:

Hubitat:

Illegal character at index 4...does it not like the space between "curl" and "-s" in the command?

I'm totally guessing here, but I think this input only wants the URI, which would start at the http: and delete the "curl -s"... and if that does not work, try just at the "192...." and delete everything before the 192. as in either one of the below examples....

1. http://192.168.20.6:5050/api/clean/0/clean
2. 192.168.20.6:5050/api/clean/0/clean
1 Like

Brilliant! :slight_smile: Removing curl -s worked! :smiley:

I can now send my Ecovacs Deebot n79 off to clean, and then order him back to his charging station. WOOT!

1 Like

But can it make bread?

1 Like

No. But it makes the bread I make VERY clean. :wink:

2 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.