Added in final check for http request correctness