pabloramosdev / spacecraft-api

Rest API to manage a Spacecraft Database
0 stars 0 forks source link

get spacecraft by id #3

Closed pabloramosdev closed 5 months ago

pabloramosdev commented 5 months ago

GET /spacecrafts/{id}

Response:

{
  "id": 1,
  "name": "x-wing",
  "movie": "Star Wars",
  "pilot": "Luke Skywalker"
}