-2

I'm running some tests with Restheart and noticed a strange behavior in the delete method.

When I try to delete a non-existent document, I' m received the collection relating to the document and the status http 200 as a result.

The correct would not return 404? Someone can explain me if this is the expected behavior for the restheart?

I'm using version 2.0.0.

1 Answers1

0

I double checked and

DELETE /db/coll/notexistingid

Returns 404 as expected

Can you please provide your request?

Andrea Di Cesare
  • 1,125
  • 6
  • 11