With this project, I intend to make a ticket sales website, where the cinema can register and sell their tickets and then the user can go and buy the tickets.
https://small-ticket.herokuapp.com
POST /v1/users
Parameter | Type | Description |
---|---|---|
name |
string |
Required. cpf. |
email |
string |
Required. name. |
password |
string |
Required. password |
PUT /v1/users/<id>
Parameter | Type | Description |
---|---|---|
name |
string |
Required. cpf. |
email |
string |
Required. name. |
password |
string |
Required. password |
GET /v1/users
Get all users
GET /v1/users/<id>
Get user whit id
POST /v1/users/auth
Authorization - Basic Auth
Parameter | Type | Description |
---|---|---|
user |
string |
Required. username |
password |
string |
Required. password |
Return the token
POST /?token=
add your token, and he will say "hello {your username}"