From b512ecf6d0399fdc86aebbad533006ea6fe4af21 Mon Sep 17 00:00:00 2001
From: alex <alex@alexloehr.net>
Date: Tue, 23 Jun 2026 16:14:21 +0000
Subject: [PATCH] adding route /api/ping

---
 test/testApiPing.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/testApiPing.js b/test/testApiPing.js
index 06670ed..19d5374 100644
--- a/test/testApiPing.js
+++ b/test/testApiPing.js
@@ -12,13 +12,13 @@
 
 describe("using the API", function () {
 
-    describe("the Route POST /api/ping", function () {
+    describe("the Route GET /api/ping", function () {
 
         it("should return an answer from php component", async function () {
             const url = getUrl(ref_id)
             console.log(url)
             const res = await fetch(url, {
-                method: "POST",
+                method: "GET",
                 body: JSON.stringify({}),
                 headers: {
                     'Content-Type': 'application/json', // Indicate JSON data

--
Gitblit v1.8.0