I am trying to use the QNAP container station API, but I am not even able to authenticate. As it says in the documentation, I do the following:
curl -sq -XPOST -c cookies.txt -d "username=username&password=pwd" http://mynashostname.myqnapcloud.com:8080/api/v1/login
But instead of getting a JSON response, I am getting an HTML response telling me the page is not found. Am I even using the right port?
QNAP doc: http://qnap-dev.github.io/container-station-api/system.html