[FOLIO-3850] OkapiCLI.py: Allow body for DELETE requests Created: 30/Jun/23  Updated: 10/Aug/23  Resolved: 10/Aug/23

Status: Closed
Project: FOLIO
Components: None
Affects versions: None
Fix versions: None

Type: Story Priority: TBD
Reporter: Julian Ladisch Assignee: Florian Gleixner
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Sprint:
Development Team: Other dev
Release: Not For Release

 Description   

OkapiCLI.py doesn't process a body for DELETE requests:

https://gitlab.lrz.de/bib-public/okapiclient/-/blob/dfdd3b6411a428f404a01c9f3c1a2558f1ad84e5/OkapiCLI.py#L67

https://gitlab.lrz.de/bib-public/okapiclient/-/blob/dfdd3b6411a428f404a01c9f3c1a2558f1ad84e5/OkapiCLI.py#L115

FOLIO has DELETE APIs that require a body:

https://s3.amazonaws.com/foliodocs/api/mod-inventory-update/r/inventory-update.html#inventory_upsert_hrid_delete

Please allow a body for DELETE requests.



 Comments   
Comment by Florian Gleixner [ 03/Jul/23 ]

Thank you for the info, should be fixed now.

Comment by Florian Gleixner [ 10/Aug/23 ]

Fixed in 0.0.5

Generated at Thu Feb 08 23:31:15 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.