The web interface for the PDS DOI Service providing the ability management PDS archive DOIs. See the DOI Service for more details on the available capabilities. https://nasa-pds.github.io/doi-service/
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.
🐛 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
🕵️ 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.