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

Code:
curl -u admin:passw http://192.168.1.1 -d "getpage=..%2Fhtml%2Fhome%2Fhome_dhcp.htm&landhcps0%3Asettings%2Fstart=192.168.1.33&landhcps0%3Asettings%2Fend=192.168.1.69&landhcps0%3Asettings%2Fstaticip5%2Fmac=HTTP/1.0 200 OK" http://192.168.1.1/cgi-bin/webcm
192.168.1.1 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,
Pedro