set_debug (true); # execute - result is stored to $API->result, save it to own array if multiple calls needed after execute $API->execute ("POST", "addresses", array("first_free", "7"), array(), $token_file); // $API->execute ("DELETE", "subnets", array(7, "permissions"), array(), $token_file); // $API->execute ("POST", "vrf", array(), array("number"=>"114","name"=>"API"), $token_file); # ger result $result = $API->get_result(); # print result print_r(json_decode($result, true)); ?>