dolibarr
dolibarr copied to clipboard
REST API post /supplierinvoices/{id}/validate returns no content and 304 when trying to validate an already validated invoice
Bug
dolibarr should always return a response body along with the status code.
Environment
- Version: 12
Steps to reproduce the behavior
curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'DOLAPIKEY: ' -d '{}' 'http://dolibarr.localhost/api/index.php/supplierinvoices/114/validate'
can someone test this on v14?
This issue is stale because it has been open 1 year with no activity. If this is a bug, please comment to confirm it is still present on latest stable version. if this is a feature request, please comment to notify the request is still relevant and not yet covered by latest stable version. This issue may be closed automatically by stale bot in 10 days (you should still be able to re-open it if required).