summaryrefslogtreecommitdiff
path: root/src/frontend/generate_taler_contract.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/generate_taler_contract.php')
-rw-r--r--src/frontend/generate_taler_contract.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/generate_taler_contract.php b/src/frontend/generate_taler_contract.php
index 52e11940..817aa0ed 100644
--- a/src/frontend/generate_taler_contract.php
+++ b/src/frontend/generate_taler_contract.php
@@ -151,7 +151,7 @@ if ($cli_debug && !$backend_test)
// Craft the HTTP request, note that the backend
// could be on an entirely different machine if
// desired.
-$req = new http\Client\Request ("POST",
+$req = new http\Client\Request ("GET",
"http://" . $_SERVER["SERVER_NAME"] . "/backend/contract",
array ("Content-Type" => "application/json"));
$req->getBody()->append ($json);