Put http status code utils for restfull api

Put http status code utils for restfull api