From 3324948a51eeb8c315fc49175fb1f0f35e799342 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Wed, 21 May 2014 08:27:55 +0200 Subject: [PATCH] use GET instead of POST for command that do not change state. --- src/pve-firewall | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pve-firewall b/src/pve-firewall index 91fc531..034f933 100755 --- a/src/pve-firewall +++ b/src/pve-firewall @@ -349,7 +349,7 @@ __PACKAGE__->register_method ({ __PACKAGE__->register_method ({ name => 'compile', path => 'compile', - method => 'POST', + method => 'GET', description => "Compile and print firewall rules. This is useful for testing.", parameters => { additionalProperties => 0, @@ -416,7 +416,7 @@ __PACKAGE__->register_method ({ __PACKAGE__->register_method ({ name => 'simulate', path => 'simulate', - method => 'POST', + method => 'GET', description => "Simulate firewall rules. This does not simulate kernel 'routing' table. Instead, this simply assumes that routing from source zone to destination zone is possible.", parameters => { additionalProperties => 0, -- 2.39.2