diff --git a/client/apache_shenyu_client/api.py b/client/apache_shenyu_client/api.py index d968188..cbaf9c9 100644 --- a/client/apache_shenyu_client/api.py +++ b/client/apache_shenyu_client/api.py @@ -158,7 +158,7 @@ def _get_register_token(self): } try: for url in self.register_token_servers: - res = requests.get(url, params=params, timeout=5) + res = requests.post(url, json=params, timeout=5) status_code = res.status_code res_data = res.json() token = res_data.get("data", {}).get("token", "")