mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-05 14:55:06 +08:00
Merge pull request #2531 from lordofhyphens/issue_2526
Fix for issue #2526, changed to GET.
This commit is contained in:
commit
9c08dfb50c
@ -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…
x
Reference in New Issue
Block a user