/PlayerRestAPI

A REST API where users can perform CRUD operations on a player object.

Primary LanguageJavaMIT LicenseMIT

PlayerRestAPI

About

A REST API where users can perform CRUD operations on a player object.

Operations of the RestController

  1. Get the details of all the players (GET Request)
localhost:8080/players
  1. Get a player by ID (GET Request)
localhost:8080/player/{pId}
  1. Add a new player (POST Request)
localhost:8080/player/add
  1. Update the details of an existing player by ID (PUT Request)
localhost:8080/player/{pId}/update
  1. Delete a player by ID (DELETE Request)
localhost:8080/player/{pId}/delete