Hi, I was trying to post to wall by API but not working…

It gives me the token but… it doesn’t post to wall and says that I can’t post while i’m logged out

import requests, os, json
user = os.environ["User"]
passw = os.environ["pass"]
data = {"username":user, "password":passw}
token = requests.post("https://api.wasteof.money/session", json=data).json()["token"]
print("Done!",token)

post = requests.post(f"https://api.wasteof.money/users/{user}/wall", headers={"token": token}, data={"post": "Hello!"})
print(post,post.json())

Token header is “Authorization” (yes, with a ‘z’)

Oh ok.. now 404 user not found

import requests, os, json
user = os.environ["User"]
passw = os.environ["pass"]
data = {"username":user, "password":passw}
token = requests.post("https://api.wasteof.money/session", json=data).json()["token"]
print("Done!",token)

post = requests.post(f"https://api.wasteof.money/users/{user}/wall",headers = {"Authorization": token}, json={"content": "Hello!"})
print(post,post.json())

Oh wait. It works when I type username manually in link lol

Thanks!! I made a mistake in username lol (everything needs to be lowercase)

yo bro,

you think you can help me—

i need help making a download button in html…-

so uhh, if you can, will you help? thank you :D

something like

<a href="/path/to/file/location download="true">Download</a>

should work. download="true" is required because if it’s not there, the browser might try to “run” the file (as in, say it’s a PDF the browser will view it, if the download attribute is there it will download it)

can you give me some thoughts on this? :D

https://1drv.ms/u/s!Amg6oRK-Ti-xabueHtNQh-2s4MQ

(run it on Scratch, Turbowarp or CSFirst)

good but here are some things you should do

  1. by default have no password or tell the password cause I had to find it

  2. the ball closes all applications

  3. have an application close button because settings was in front of what I think was the internet browser

yeah, i forgot to add the pass to the comment , sorry

yeah that was intentional btw, that way its like a doom wall

I should make icons more obvious lol, thank you sm :D

should light swear words be allowed? i am getting some reports for your posts and i'm not sure.

maybe shit and fuck but nothing worse

are you a pewdiepie or mr beast fan? follow me for a chance to win 10,000 very real bobux 4

Ok

what is a wall

wall

yes but what is a wall

a wall