Skip to content

Latest commit

 

History

History
35 lines (29 loc) · 664 Bytes

README.md

File metadata and controls

35 lines (29 loc) · 664 Bytes

Endpoints

  • /auth/register
POST http://ec2-34-238-118-3.compute-1.amazonaws.com:3005/auth/register

{
   "name": "Open City",
   "email": "[email protected]",
   "password": "123qwe"
}
  • /auth/authenticate
POST http://ec2-34-238-118-3.compute-1.amazonaws.com:3005/auth/authenticate

{
   "email": "[email protected]",
   "password": "123qwe"
}
  • /message/register
POST http://ec2-34-238-118-3.compute-1.amazonaws.com:3005/message/register

{
   "id": "<CPF>_<CREATED_AT>",
   "from": "<CPF>/<CNPJ>",
   "to": "<CPF>/<CNPJ>",
   "type": "mobilidade-urbana_reclamacao",
   "content": "atraso de frota de onibus"
}