dolibarr icon indicating copy to clipboard operation
dolibarr copied to clipboard

REST API post /supplierinvoices/{id}/validate returns no content and 304 when trying to validate an already validated invoice

Open dpriskorn opened this issue 3 years ago • 2 comments

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'

dpriskorn avatar Aug 03 '20 15:08 dpriskorn

can someone test this on v14?

dpriskorn avatar Aug 05 '21 12:08 dpriskorn

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).

github-actions[bot] avatar Aug 05 '22 21:08 github-actions[bot]