|
### SUPPLIER
|
|
### SUPPLIER
|
|
GET /supplier/all
|
|
GET /supplier/all
|
|
|
|
retorna json com todos os fornecedores
|
|
|
|
|
|
POST /supplier/
|
|
POST /supplier/
|
|
````javascript
|
|
````javascript
|
... | @@ -19,5 +20,11 @@ POST /user/ |
... | @@ -19,5 +20,11 @@ POST /user/ |
|
}
|
|
}
|
|
````
|
|
````
|
|
|
|
|
|
|
|
POST /login/
|
|
|
|
````javascript
|
|
|
|
{
|
|
|
|
email: {type: String, required: true },
|
|
|
|
password: {type: String, required: true }
|
|
|
|
}
|
|
|
|
````
|
|
|
|
|