-
Notifications
You must be signed in to change notification settings - Fork 2
Routes
Zaine Kingi edited this page Sep 27, 2018
·
7 revisions
User routes will precede with /api/v1/users
Product routes will precede with /api/v1/products
{
"name": "Person",
"email": "person@gmail.com"
"hash": "password"
}
{
"name": "Apple",
"price": "$4"
"image": "image.jpg"
"address": "5 Happy Lane"
"suburb": "Parnell"
"city": "Auckland"
"postcode": "0622"
"quantity": "12",
"description": "Picked last week, good for another week",
"category": "fruit",
"organic": "true",
"free-range": "false"
}
{
"name": "Frank Food",
"email": "person@gmail.com"
}
{
"name": "Apple",
"price": "$4"
"image": "image.jpg"
"address": "5 Happy Lane"
"suburb": "Parnell"
"city": "Auckland"
"postcode": "0622"
"quantity": "12",
"description": "Picked last week, good for another week",
"category": "fruit",
"organic": "true",
"free-range": "false"
}