API – Application Program Interface

API refers to Application Program Interface. It helps us to easily access data from some other servers by sending a request. Then we will receive a response that contains some information from the other server.

  • Endpoint
  • Paths
  • Parameters
  • Authentication

Every API that interact with an external system will have an Endpoint

kanye.rest – Free REST API

Random quote generating API , the endpoint to get a quote is,

https://api.kanye.rest

Paths & Parameters

API paths and parameters can be used to get specific piece of data from external server.

Eg; Joke API – https://sv443.net/jokeapi/v2/

API endpoint with Parameter:

https://v2.jokeapi.dev/joke/Programming

More Examples on API with parameters:

About the Author: smartcoder

You might like

Leave a Reply

Your email address will not be published. Required fields are marked *