Car: GET

Returns JSON object containing information about a user's car.

Request

To obtain a specific car, make a GET request to:

/api/car/:carID

where :carID is the car's unique id.

Response

JSON object of car object.

body: { 
  _id: '599611d7166668c23c245b80',
  make: 'Subaru',
  model: 'Outback',
  color: 'Evergreen',
  licensePlate: 'PNW-123',
  userID: '599611d7166668c23c245b7f',
  __v: 0 
}

results matching ""

    No results matching ""