Use POST as request method
This commit is contained in:
parent
f38bbb445c
commit
7e0bfd394b
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue