From 8387768c649e3b20149f3ca810aa7d7f99ca4d62 Mon Sep 17 00:00:00 2001 From: eye-gu <734164350@qq.com> Date: Sun, 28 Jun 2026 00:37:38 +0800 Subject: [PATCH] feat: login get to post --- client/apache_shenyu_client/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", "")