just remove the stuff that is in the string

I tried, and just left the {“post”} but it didn’t work

what is the simplest way to just post a simple string

…did you include the headers?

idk, ig I’ll figure it out

Wait, is it, post = requests.post("https://api.wasteof.money/posts", json = ("Hallo"))

no, it should be requests.post("https://api.wasteof.money/posts", headers = authJson, json = {"post": f"hello world"})

ok thanks alot I got it working, how do you make it run like once a day through replit

See more replies
View all comments