updated examples with http status codes