Advertisement
A_GUES

Roblox api Hacking or (do buy) (Javascript)

Feb 26th, 2024 (edited)
948
0
Never
4
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.45 KB | None | 0 0
  1. var productId = "your_product_id"; // replace with your actual product id
  2.  
  3. fetch(`https://economy.roblox.com/v2/user-products/${productId}/purchase`, {
  4.     body: JSON.stringify({
  5.         "expectedCurrency": 1,
  6.         "expectedPrice": 1,
  7.         "expectedSellerId": 1
  8.     }),
  9.     method: "POST",
  10.     credentials: "include",
  11.     headers: {
  12.         "Content-Type": "application/json",
  13.         "x-csrf-token": Roblox.XsrfToken.getToken()
  14.     }
  15. })
  16.  
Advertisement
Comments
  • A_GUES
    269 days
    # text 0.06 KB | 0 0
    1. Link video: https://youtu.be/CKt0k0YAyxc?si=aTAmSnNcP-41z3T5
  • A_GUES
    269 days
    # text 0.46 KB | 0 0
    1. edit:
    2. "let productId = "your_product_id"; // replace with your actual product id
    3.  
    4. fetch(`https://economy.roblox.com/v2/user-products/${productId}/purchase`, {
    5. body: JSON.stringify({
    6. "expectedCurrency": 1,
    7. "expectedPrice": 1,
    8. "expectedSellerId": 1
    9. }),
    10. method: "POST",
    11. credentials: "include",
    12. headers: {
    13. "Content-Type": "application/json",
    14. "x-csrf-token": Roblox.XsrfToken.getToken()
    15. }
    16. })
    17. "
  • A_GUES
    269 days
    # text 0.02 KB | 0 0
    1. sorry error code
  • A_GUES
    269 days
    # text 0.03 KB | 0 0
    1. What edit code: let to var
Add Comment
Please, Sign In to add comment
Advertisement