Skip to content

Commit 65d108b

Browse files
committed
Dirigent invoke via POST
Signed-off-by: Lazar Cvetković <l.cvetkovic.997@gmail.com>
1 parent c9ee3d7 commit 65d108b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/driver/clients/http_client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ func (i *httpInvoker) Invoke(function *common.Function, runtimeSpec *common.Runt
5959
requestBody = body
6060
}
6161

62-
req, err := http.NewRequest("GET", "http://"+function.Endpoint, requestBody)
62+
req, err := http.NewRequest("POST", "http://"+function.Endpoint, requestBody)
6363
if err != nil {
6464
log.Errorf("Failed to create a HTTP request - %v\n", err)
6565

0 commit comments

Comments
 (0)