curl: unknown option was passed to libcurl

I'm not sure where this thread belongs.....

I had a very simple script to reboot my router as needed, which worked fine for quite a while:
Code:
#!/bin/bash

curl 'http://192.168.1.2/login.htm' --data-raw 'username=admin&password=XXXXXXXXXXX'

curl 'http://192.168.1.2/devicemng_rebootinfo.htm'

I don't know when it stopped working, but now when it's executed, both curl commands yield the same output:
Code:
curl: (48) An unknown option was passed in to libcurl

Any thoughts?
 
Maybe a bad (deprecated) option in a .curlrc file?

[Moved it to "Userland Programming and Scripting", that seems more appropriate]
 
Back
Top