Closed
Description
🐛 Describe the bug
When I select a reserved DOI and click on RELEASE, then SAVE, I have an error "JSON requestBody provided for draft POST request. Body must be an XML PDS4/OSTI label."
This used to work and the API still work for me equivalent test case.
📜 To Reproduce
- select a reserved DOI and click on RELEASE,
- then SAVE,
- I have an error "JSON requestBody provided for draft POST request. Body must be an XML PDS4/OSTI label."
🕵️ Expected behavior
The DOI should be saved as draft
📚 Version of Software Used
Latest on master
🩺 Test Data / Additional context
I believe this is because of the request HEADER content-type, this is application/json, and this should be application/xml or text/plain so that the API recognize the submitted format.