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(