Fixes exist method to check http status code return instead of trying to parse non existing json return body and returns this as the result of the check