From 90811f67367605002a9be0573d54d8d3f66d65b2 Mon Sep 17 00:00:00 2001 From: Joseph Lenox Date: Mon, 12 Jan 2015 11:56:54 -0600 Subject: [PATCH] Fix for issue #2526, changed to GET. --- lib/Slic3r/GUI/Tab.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Slic3r/GUI/Tab.pm b/lib/Slic3r/GUI/Tab.pm index e979540d3..e612ce70b 100644 --- a/lib/Slic3r/GUI/Tab.pm +++ b/lib/Slic3r/GUI/Tab.pm @@ -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, );