dataplaneapi
dataplaneapi copied to clipboard
Wrong status code 400 when deleting non-existing transaction
% curl -X DELETE localhost:5555/v2/services/haproxy/transactions/111
{"code":400,"message":"20: transaction 111 does not exist"}
According to the documentation (https://www.haproxy.com/documentation/dataplaneapi/enterprise/#delete-/services/haproxy/transactions/-id- ) and general REST behavior, this should be status 404.