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 ReplyCancel reply

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

Please turn AdBlock off
Social Network Integration by Acurax Social Media Branding Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Exit mobile version
%%footer%%