Basics of API (Part 1)

Number of APIs: 1

Endpoint URL: https://joke-api-demo.herokuapp.com/

/joke path for getting the joke

Todo:

  1. Add POST Request.
  2. Add DELETE Request.
  3. Add PUT Request.

The Body for POST and PUT is like this json { "id": "1", "author": "Ali Mustufa", "joke": "Bugs are features", "source": "Ali Mustufa" }

Include id in the URL like /joke/10 where 10 is the id of the joke for DELETE Request

Note: This is a beginner-friendly API development tutorial and doesn't follow best practices.

  1. Get Joke GET {{Add the URL here}}