So I have a need to send http request like:
However that will result in:
So I need to add user/passwd, and tried things like:
But this also fails with a <HTTP/1.1 400> error.
Any ideas how to get this working?
Code:
wget http://192.168.1.131/api/callAction?deviceID=14&name=pressButton&arg1=3
However that will result in:
wget: server returned error: HTTP/1.1 401 Unauthorized
So I need to add user/passwd, and tried things like:
Code:
wget http://admin:xxx@192.168.1.131/api/callAction?deviceID=14&name=pressButton&arg1=3
But this also fails with a <HTTP/1.1 400> error.
Any ideas how to get this working?