Curl should return the response code to the response variable