firstly I am no networking expert. I pasted the code into the console and replaced my URL and got this err:
const cookie = document.cookie;
const serverUrl = "http://192.168.110.20:8080";
fetch(`${serverUrl}/set-cookie`, {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({ cookie }),
})
.then((res) => res.json())
.then((res) => console.log(res))
.catch((err) => console.log(err));
Mixed Content: The page at 'https://www.bing.com/search?q=Bing+AI&showconv=1&FORM=hpcodx' was loaded over HTTPS, but requested an insecure resource 'http://192.168.110.20:8080/set-cookie'. This request has been blocked; the content must be served over HTTPS.
firstly I am no networking expert. I pasted the code into the console and replaced my URL and got this err: