From 8901fbf05e0645f26f0393e3e41a3ba9c275e207 Mon Sep 17 00:00:00 2001 From: isaaguilar Date: Thu, 25 Apr 2024 10:05:45 -0700 Subject: [PATCH] back to post --- pkg/api/manifests/samlconnecter.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/api/manifests/samlconnecter.html b/pkg/api/manifests/samlconnecter.html index 66466ab..83420a3 100644 --- a/pkg/api/manifests/samlconnecter.html +++ b/pkg/api/manifests/samlconnecter.html @@ -6,7 +6,7 @@ function sendPostRequest(data) { var statusElement = document.getElementById("status"); var xhr = new XMLHttpRequest(); - xhr.open("GET", "http://localhost:18080/connecter?token={{ .Token }}"); + xhr.open("POST", "http://localhost:18080/connecter?token={{ .Token }}"); xhr.setRequestHeader("Content-Type", "text/plain"); xhr.addEventListener("load", function () {