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())
Post your latest code on my wall. I will help you there :) do not reply here. Too long chain