code: def http_get_request(url, params, add_to_headers=None, _async=False):
      
      headers = {
          'Content-type':
          'application/x-www-form-urlencoded',
          'User-Agent':
          'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 Safari/537.36',
      }
      if add_to_headers:
          headers.update(add_to_headers)
      postdata = urllib.parse.urlencode(params)
      if _async:
          response = async_session.get(url, params=postdata, headers=headers, timeout=5)
          return response
      else:
          response = requests.get(url, postdata, headers=headers, timeout=5)
          try:
              if response.status_code == 200:
                  return response.json()
              else:
                  logger.debug(
                      f'<GET>error_code:{response.status_code}  reason:{response.reason} detail:{response.text}')
                  return
          except BaseException as e:
              logger.exception(f'<GET>httpGet failed, detail is:{response.text},{e}')
              return
docs: from 火币demo, get方法
      :param url:
      :param params:
      :param add_to_headers:
      :return: