Use POST as request method

This commit is contained in:
joan 2022-09-13 13:42:04 +02:00
parent f38bbb445c
commit 7e0bfd394b
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@ def call(String apiUrl, String user, String pass, String url) {
httpRequest( httpRequest(
url: "${apiUrl}/${url}", url: "${apiUrl}/${url}",
httpMode: 'POST',
customHeaders: [[name: 'Authorization', value: login.token]] customHeaders: [[name: 'Authorization', value: login.token]]
) )
httpRequest( httpRequest(