From 3e2c447a4e33811007c18e3cb6b5cb2e71724983 Mon Sep 17 00:00:00 2001 From: milanmajchrak Date: Tue, 26 Sep 2023 16:14:56 +0200 Subject: [PATCH] Refactoring - added a comment --- support/dspace_interface/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/dspace_interface/client.py b/support/dspace_interface/client.py index a398bc3..27c4463 100644 --- a/support/dspace_interface/client.py +++ b/support/dspace_interface/client.py @@ -171,7 +171,7 @@ def api_post(self, url, params, data, retry=False, content_type='application/jso """ Perform a POST request. Refresh XSRF token if necessary. POSTs are typically used to create objects. - @param content_type: + @param content_type: Type of the content, it is `JSON` by default @param url: DSpace REST API URL @param params: Any parameters to include (eg ?parent=abbc-....) @param data: Data in json-ready form (dict) to send as