Fix for issue #2526, changed to GET.

This commit is contained in:
Joseph Lenox 2015-01-12 11:56:54 -06:00
parent 28d7b0dba6
commit 90811f6736

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