Added process for HTTP status codes 201 and 400