deleting post sends DELETE request to the server and now works for the happy path