phpipam-api-clients
phpipam-api-clients copied to clipboard
Can't get any subnet with php client
When I try:
$API->execute ("GET", "subnets", array("cidr", $full_subnet), array(), $token_file);
$full_subnet = '192.168.136.64/26'
here is the parameters of the api :
Array ( [id] => cidr [id2] => 192.168.136.64/26 [controller] => subnets )
I get the following result :
( [code] => 200 [success] => 0 [message] => No subnets found [time] => 0.007 )
The subnet exist in php ipam
Auth with crypt and api key
Confirmed for me: working with password access (see #17 ) but not crypt access (see #14 )