Open gpipito opened 4 years ago
Good. Then it isn't just me. Seeing the same. Python 3.7.7 phpipam-client 0.4.0
Tried playing with the url as well, but no go,
I'm also here, sharing my founds:
python 3.8 phpipam from master branch phpipam-client 0.4.0
using the @gpipito code example as test
in phpipam, config.php with $api_crypt_encryption_library = "mcrypt";
and it works.
no changes needed in config.php (default to openssl) and in phpipam-client, just by commenting the section below in client.py (quick way to test):
#if not self._api_encryption:
# self.login()
changing the parameter encryption
to False
in the code, and it works also.
hope it could help
Hi,
I wrote a very basic code but it always game code 400, request is not valid:
I tried the same with a basic rest script and it works fine:
What am I doing wrong?
phpipam_client 0.4.0 python 3.6.8