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())