still says that :/

hmm

run this code in your python shell

import requests,json;requests.post("https://api.wasteof.money/session", json={"username":"username here","password":"pwd here"}).json()

gave me same error :/

can I see your code?

It’s the exact same as yours, only i put my token in

(i put random numbers for the token here)

import requests
import json
quote = requests.get("https://api.breakingbadquotes.xyz/v1/quotes").json()[0]
author = quote["author"]
quote = quote["quote"]
print(quote)
authJson = {"Authorization": "[redacted] (029485729345872039456374)"}
post = requests.post("https://api.wasteof.money/posts", headers = authJson, json = {"post": f"<h2>{author}</h2> <p>{quote}</p>"})
print(post.json())

make authJson = {“Authorization”: requests.post(“https://api.wasteof.money/session”, {“username”:”here”,”password”:”pwd”).json()[“token”])}

See more replies

So yeah, i haven’t change it to harry potter or anything yet, just pasted my token, and that was the only change

View all comments