You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jradi3 edited this page Jul 18, 2012
·
9 revisions
Products
Method
Auth?
URL
Description
GET
false
/product/
get all products
GET
false
/product?cateogry=:category
get all products given a category
GET
false
/product/:garage
get all garage's products
POST
true
/product
Dictionary structure : *idUser, *token, product:params {*idPessoa, valorEsperado, descricao, *nome, *idEstado, *idUser, categories, newPhotos, *currency}. Save a new product to some product. (*)obligatory
PUT
true
/product/:id
params: valor_esperado, descricao, nome, id_estado, id_pessoa categories. update some specific product