企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
~~~ <!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> ~~~