Advertisement
Worgle123

Untitled

Mar 15th, 2025
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*Be aware that this method could potentially delete your Minecraft license.  I used it on an alt, not my main.  If you want to use this on your main account, be aware of the risks.
  2. Open your browser, and head to minecraft.net - make sure you are logged in.  Then press Ctrl+Shift+I to open Developer tools/inspect.  Click on console and paste the text below then hit enter. You should have the cape!!*/
  3.  
  4. const mcToken = JSON.parse(localStorage.getItem('MCToken')).mcToken;
  5.  
  6. fetch("https://net.web.minecraft-services.net/api/v1.0/grant/offer?offer=7118a7d5-240e-4f6d-8959-5269ba041938", {
  7.   "headers": {
  8.     "accept": "/",
  9.     "accept-language": "en-US,en;q=0.9",
  10.     "authorization": mcToken,
  11.     "content-type": "application/json",
  12.     "priority": "u=1, i",
  13.     "sec-ch-ua-mobile": "?0",
  14.     "sec-ch-ua-platform":"Windows",
  15.     "sec-fetch-dest": "empty",
  16.     "sec-fetch-mode": "cors",
  17.     "sec-fetch-site": "cross-site"
  18.   },
  19.   "referrer": "https://www.minecraft.net/",
  20.   "referrerPolicy": "strict-origin-when-cross-origin",
  21.   "body": null,
  22.   "method": "PUT",
  23.   "mode": "cors",
  24.   "credentials": "include"
  25. })
  26. .then(response => {
  27.     console.log('Status Code:', response.status);
  28.   })
Tags: minecraft
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement