Skip to content

Instantly share code, notes, and snippets.

@aricore
Created October 2, 2017 14:25
Show Gist options
  • Save aricore/79cb58ec929c72ee981a07d247034c25 to your computer and use it in GitHub Desktop.
Save aricore/79cb58ec929c72ee981a07d247034c25 to your computer and use it in GitHub Desktop.
La Fazenda Api
# Apis
## Login
JWT token will be generated in the BE and will be used in each call to verify authenticity.
**Body**
```
url: /v1/login
method: POST
body: {username: <username>, password: <encripted-pass>}
```
**response**
```
JWT token
```
## Logout
**Body**
```
url: /v1/logout
method: POST
body: {}
```
## Clientes
### Listado
**Body**
```
url: /v1/clientes
method: GET
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment