make_request function

Make the HTTP request