requests.post(url,
files={file_name: file_object},
params={'name': file_name},
headers={'Content-Type': 'multipart/form-data'},
cookies={"JSESSIONID": ""})
When I try to upload a file to bistream using API, I did POST from postman adding the file under body. The file is successfully uploaded, but the name is null.
--
All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/
---
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/7cf4daea-5389-4863-87c0-cfa9faf06753%40googlegroups.com.