REST Service for POPCORN - ILIAS
alex
8 hours ago 88d55b65ce4fc720da9ab4c125d56c97493d2972
test/testApiPing.js
@@ -19,14 +19,13 @@
            console.log(url)
            const res = await fetch(url, {
                method: "GET",
                body: JSON.stringify({}),
                // body: JSON.stringify({}),
                headers: {
                    'Content-Type': 'application/json', // Indicate JSON data
                },
            })
            // console.log(res)
            const data = await res.json()
            console.log(data)
            // console.log(data)
            expect(data).to.be.a("object")
            expect(data.status).to.equal("ok")