Skip to content

blisterz009/The-Joke-Teller-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

The-Joke-Teller

This api returns a random awful joke or pun that I have collected recently.

Usage

  • Start the server by running go run main.go.
  • Make a GET request to localhost:3000/api/jokes.

curl http://localhost:3000/api/joke

The request will produce the following response

{
    "id": 6,
    "joke": "Why did the coffee file a police report? It got mugged."
}

About

A rest api written in go that returns a random joke

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages