Skip to content
CaixoDarksixoPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

Repository files navigation

Servidor HTTP para testes

Professor Lucas

O servidor está preparado para responder requisições baseadas no padrão REST.

Clone o repositório e instale as depêndencias utilizando npm install

Para inicializar o servidor utilize o comando npm start

Rotas da API de Aulas

Verbo HTTP Padrão de URL Função
GET /aulas Lista todas as aulas (index)
POST /aulas Cria uma nova aula (create)
GET /aulas/{id} Exibe a aula número "id" (show)
PUT /aulas/{id} Altera a aula número "id" (update)
DELETE /aulas/{id} Remove a aula número "id" (delete)

EXEMPLO DE ENVIO DE BODY NAS REQUISIÇÕES POST/PUT

{ "title": "Aula teste", "content": "Descrição da aula teste" }

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages