Skip to content
Snippets Groups Projects
Commit 99e0cf2e authored by David Trattnig's avatar David Trattnig
Browse files

fix: Simple API used put intead of post

parent 8029288f
No related branches found
No related tags found
1 merge request!20Preparations for ORM-less scheduling
Pipeline #3391 failed
......@@ -248,7 +248,7 @@ class SimpleRestApi:
if not headers:
headers = SimpleRestApi.default_headers
body: str = self.serialize_json(data)
return requests.put(url, data=body, headers=headers)
return requests.post(url, data=body, headers=headers)
@exception_handler
def put(self, url: str, data: dict, headers: dict = None) -> requests.Response:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment