💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
~~~ <!DOCTYPE html> <html> <head> <title>302 Redirect Example</title> </head> <body> <p>Click the button to trigger a 302 redirect:</p> <button id="redirectButton">Trigger 302 Redirect</button> <script> document.getElementById("redirectButton").addEventListener("click", function () { // 发起GET请求到服务器的/redirect路径 window.location.href = "http://localhost:8080/redirect"; }); </script> </body> </html> ~~~