Vehicles
Create a vehicle
Creates a new vehicle record.
post/vehicles
Request
- Base URL: http://localhost:3000
- URL: http://localhost:3000/vehicles
- Auth: none declared
Request body
Example request
{
"make": "Toyota",
"model": "Corolla",
"year": 2024,
"fuel_tank_capacity": 55
}Response
Vehicle created successfully
Example response
{
"id": 1,
"make": "Suzuki",
"model": "S4",
"year": 2021,
"fuel_tank_capacity": "51.1"
}Changes
No recorded changes to this operation across all 1 revision of this API.