heck i use only python lmao
import requests
data = {"username":user, "password":passw} #put ur credentials
token = requests.post("https://api.wasteof.money/session", json=data).json()["token"]
login = {"Authorization": token}
post = requests.post(f"https://api.wasteof.money/posts",headers = login,json={"post": "hi, @Ankit_Anmol!!"})
print(post,post.json())
what am i doing wrong lol?
wait i think i found out
it says “NameError: name 'user' is not defined”
Post your latest code on my wall. I will help you there :) do not reply here. Too long chain
where exactly do i put my creds?
I meant I could give if u know python lol