200 400 404 501 status codes working