Am 1/30/20 um 12:07 PM schrieb Fabian Grünbichler: > and add an example for it. > > Signed-off-by: Fabian Grünbichler <f.gruenbich...@proxmox.com> > --- > PVE/APIClient/LWP.pm | 22 ++++++++++++++++++++-- > examples/example3.pl | 24 ++++++++++++++++++++++++ > 2 files changed, 44 insertions(+), 2 deletions(-) > create mode 100755 examples/example3.pl
applied, thanks! > +use PVE::APIClient::LWP; > + > +use JSON; > + > +my $apitoken = 'PVEAPIToken=USER@REALM!TOKENID=TOKENVALUE'; it could make sense to add that ourself for convenience, i.e., if the token does not matches /^PVEAPIToken[ =]/ _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel