From 704f4cb7623533c7ea7def73ffceb8b6f381c29c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lazar=20Cvetkovi=C4=87?= Date: Tue, 17 Dec 2024 19:45:29 +0100 Subject: [PATCH] Dirigent invoke via POST MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Lazar Cvetković --- pkg/driver/clients/http_client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/driver/clients/http_client.go b/pkg/driver/clients/http_client.go index 5d6cd0518..3ac7ecd2b 100644 --- a/pkg/driver/clients/http_client.go +++ b/pkg/driver/clients/http_client.go @@ -59,7 +59,7 @@ func (i *httpInvoker) Invoke(function *common.Function, runtimeSpec *common.Runt requestBody = body } - req, err := http.NewRequest("GET", "http://"+function.Endpoint, requestBody) + req, err := http.NewRequest("POST", "http://"+function.Endpoint, requestBody) if err != nil { log.Errorf("Failed to create a HTTP request - %v\n", err)