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

I really wouldn't recommend replit. If you need the bots to be run daily, I'd recommend that if you have a Linux machine like an rpi, you can make a cron job for it.

See more replies
View all comments