Code:
curl --url "http://localhost/gestioip/api/api.cgi" -u gipadmin:xxxxxx -d
"request_type=firstFreeNetwork&client_name=DEFAULT&rootnet_ip=192.168.0.0&rootne
t_BM=16&BM=24"
this is perl code .
how to write this code in python 3.