Merge pull request #2531 from lordofhyphens/issue_2526
Fix for issue #2526, changed to GET.
This commit is contained in:
commit
9c08dfb50c
1 changed files with 1 additions and 1 deletions
|
@ -1038,7 +1038,7 @@ sub build {
|
|||
my $ua = LWP::UserAgent->new;
|
||||
$ua->timeout(10);
|
||||
|
||||
my $res = $ua->post(
|
||||
my $res = $ua->get(
|
||||
"http://" . $self->{config}->octoprint_host . "/api/version",
|
||||
'X-Api-Key' => $self->{config}->octoprint_apikey,
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue