python requests post data with zip

不要使用json参数,使用data参数来传递
requests.post(url = putUrl,
              data = gzip.compress(json.dumps(raw_json).encode('utf-8')),
              auth = auth,
              headers = headers,
              verify=False)
沪ICP备15048782号-1