Merge pull request #2531 from lordofhyphens/issue_2526

Fix for issue #2526, changed to GET.
This commit is contained in:
Alessandro Ranellucci 2015-01-13 20:59:14 +01:00
commit 9c08dfb50c

View file

@ -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,
);