Closed Dagic-zewdu closed 2 years ago
http://localhost/api/v1/motorcycle/1
it should return individual motorcycle with given params
{
"id":integer,
"model": string,
"price":float,
"title": string,
"images":[string,string]
"duration": intege,
"discount" :integer,
"description": string,
"user": {
"id":1,
username:"bla",
email: "blabla@gmail.com",
"photo":string
}
}
http://localhost:3000/motorcycle/1