This will perform the http request.
        stream_to_file: str of the file name to stream the data too
        :return: str of status

def send(self, stream_to_file=None):
        """
        This will perform the http request.
        stream_to_file: str of the file name to stream the data too
        :return: str of status
        """
        try:
            self._stage = STAGE_REQUEST
            self.prepared_request.prepare(method=self.method,
                                          url=self.endpoint_url,
                                          files=self.files,
                                          json=self.json,
                                          data=self.data,
                                          headers=self.headers,
                                          params=self.params,
                                          cookies=self.cookies,
                                          hooks=self.hooks)

        except Exception as e1:
            self.error = ApiError(
                "Exception in making Request with:: %s\n%s" % (
                    e1, traceback.format_exc()))
            raise Exception(self.error)

        try:
            self._stage = STAGE_SENDING
            self._timestamps['send'] = time.time()
            self.response = self.session.send(self.prepared_request,
                                              proxies=self.proxies,
                                              timeout=self.timeout,
                                              stream=bool(stream_to_file),
                                              verify=VERIFY,
                                              cert=None)
            self._stage = STAGE_RESPONDING
            self._timestamps['receive'] = time.time()
        except Exception as e2:
            self._timestamps.setdefault('exception', time.time())
            self.error = e2
            raise

        self.post_process(stream_to_file)
        self._stage = ((self.name == 'Unknown') and
                       STAGE_DONE_DATA_FORMATTED or STAGE_DONE)
        return self.data