XavierFR has asked for the wisdom of the Perl Monks concerning the following question:
%options = ( "url" => "j_security_check", "j_username" => $username, "j_password" => $password ); $res = $client->POST( \%options ); $res = $client->GET("api/14/system/info"); print Dumper ($res);
But I still get a 403 error. Note that it is not a basic authentication via headers.. I browsed the doc, with no success.
Thanks for any help
Regards, Xavier
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Authenticate via REST::Client against Rundeck API
by hdb (Monsignor) on Mar 14, 2019 at 11:57 UTC | |
by XavierFR (Novice) on Mar 14, 2019 at 12:36 UTC | |
by hdb (Monsignor) on Mar 14, 2019 at 13:48 UTC | |
by XavierFR (Novice) on Mar 14, 2019 at 15:31 UTC | |
by XavierFR (Novice) on Mar 15, 2019 at 08:23 UTC | |
by hippo (Archbishop) on Mar 15, 2019 at 09:20 UTC |