Hi all,
I got a problem creating a proxy with the api. Here is my json post:
$VAR1 = '{"auth":"xxxxxx","params":{"interfaces":[{"dns":"","useip":"1","ip":"100.100.100.100","port ":"10051"}],"status":"6","host":"PROXY"},"jsonrpc":"2.0","id" :1,"method":"proxy.create"}';
Am I doing something wrong? The proxy is created with the correct name (PROXY) but the interface itself has still the IP 127.0.0.1 and the DNS name 'localhost'.
Looks like the interfaces array is not parsed at all. Changing the port and useip option doesn't lead to success here as well, still the default values are used.
BR,
vienna
I got a problem creating a proxy with the api. Here is my json post:
$VAR1 = '{"auth":"xxxxxx","params":{"interfaces":[{"dns":"","useip":"1","ip":"100.100.100.100","port ":"10051"}],"status":"6","host":"PROXY"},"jsonrpc":"2.0","id" :1,"method":"proxy.create"}';
Am I doing something wrong? The proxy is created with the correct name (PROXY) but the interface itself has still the IP 127.0.0.1 and the DNS name 'localhost'.
Looks like the interfaces array is not parsed at all. Changing the port and useip option doesn't lead to success here as well, still the default values are used.
BR,
vienna
Comment