From 7e0bfd394b03bc14a375519e2bd1be67b45185aa Mon Sep 17 00:00:00 2001 From: joan Date: Tue, 13 Sep 2022 13:42:04 +0200 Subject: [PATCH] Use POST as request method --- vars/lbRequest.groovy | 1 + 1 file changed, 1 insertion(+) diff --git a/vars/lbRequest.groovy b/vars/lbRequest.groovy index 19df6a2..967a9bc 100644 --- a/vars/lbRequest.groovy +++ b/vars/lbRequest.groovy @@ -14,6 +14,7 @@ def call(String apiUrl, String user, String pass, String url) { httpRequest( url: "${apiUrl}/${url}", + httpMode: 'POST', customHeaders: [[name: 'Authorization', value: login.token]] ) httpRequest(