Correct a error in the http request