From a09d217fe829f11237f6e58ae0b10b8d59f10042 Mon Sep 17 00:00:00 2001 From: qgarnier Date: Wed, 8 Mar 2023 16:44:39 +0000 Subject: [PATCH] (plugin) apps::controlm::restapi - fix login endpoint (#4270) --- src/apps/controlm/restapi/custom/api.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/controlm/restapi/custom/api.pm b/src/apps/controlm/restapi/custom/api.pm index bdf2fce5c..79c363703 100644 --- a/src/apps/controlm/restapi/custom/api.pm +++ b/src/apps/controlm/restapi/custom/api.pm @@ -145,7 +145,7 @@ sub get_token { $self->settings(); my $content = $self->{http}->request( method => 'POST', - url_path => '/automation-api', + url_path => '/session/login', query_form_post => $encoded, unknown_status => $self->{unknown_http_status}, warning_status => $self->{warning_http_status},