DevOps Classroom Series – 28/Nov/2020

Representation State Transfer (REST) API

  • REST determines how API looks like.
  • In REST API we send Requests from Client to Server.
  • Anatomy of Request
    • Endpoint:
      • route or url for your request
    • Method: GET, POST, PUT, DELETE
    • Headers:
    • Data (body): mostly json content

CRUD Operations

  • Elastic search exposes well-designed REST API by using them we can perform CRUD (Create, Retrieve, Update and Delete)
  • Refer Here for rest api documentation of elastic search

Index API

  • Refer Here for official docs of index api
  • Lets create a new request for a student by providing id
  • Lets explore apis

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About learningthoughtsadmin