Share your repls and programming experiences

← Back to all posts
Joke API
h
PDanielY (726)

I created a joke API that lets you get a random joke by going to a url. There are only three jokes in the database but you can add more by filling out the form. It was a quick project I created that I wanted to share. Also do not post inappropriate jokes or they will get deleted.

Edit: Someone has been posting inappropriate jokes so I've created a automod system. Whoever is doing it please stop.

Upvote if you like it

Commentshotnewtop
MatthewDoan1 (303)

{"ok":true,"joke":"feminism"}

hmmmmm

roylatgnail (773)

where can you get the jokes?

PDanielY (726)

@TaylorLiang The API link the website explains.

You just go to /api/joke on the website

roylatgnail (773)

@PDanielY oh. i thought i had to go to (folder api)/joke(file)

roylatgnail (773)

@PDanielY is there also a way to view all the jokes?

PDanielY (726)

@TaylorLiang yes, but only I can do it.

AdCharity (1113)

ooo I was confused by the io until I saw json store