Last active
August 20, 2019 00:10
-
-
Save raphox/35afea387b784f46893dc190cf94eb7d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"name": "Machado de Assis", | |
"books": [ | |
{ "name": "Dom Casmurro", "publicatedAt": "2016-05-18T16:00:00Z" }, | |
{ "name": "Contos", "publicatedAt": "2016-05-18T16:00:00Z" }, | |
{ "name": "Helena", "publicatedAt": "2016-05-18T16:00:00Z" } | |
] | |
}, | |
{ | |
"name": "Paulo Coelho", | |
"books": [ | |
{ "name": "O Alquimista", "publicatedAt": "2016-05-18T16:00:00Z" } | |
] | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
GET - Listar todos autores (/autores)
GET - Exibir um autor (/autores/ID)
POST - Criar autor (/autores)
PATCH - Atualizar autor (/autores/ID)
DELETE - Remover autor (/autores/ID)
*** PUT - Inserir livro a um autor que já existe (/autores/ID/insert_book)