I want to use the POST method in a curl command to a router that has authentication:

curl -u admin:passw -d "getpage=..%2Fhtml%2Fhome%2Fhome_dhcp.htm&landhcps0%3Asettings%2Fstart= 200 OK" is my router

The post message is later of -d option. I want to change the dhcp options.

My problem is that my router have login and password, and it didn't work. so I need to know what I should change in the sintax of the command in order to authenticate and send the post message at the same time? is it possible?

Thanks in advance,