Skip to content

Instantly share code, notes, and snippets.

@fabiogoll
Last active May 21, 2019 00:04
Show Gist options
  • Save fabiogoll/fb4347e402371fe71d43cecbb8052697 to your computer and use it in GitHub Desktop.
Save fabiogoll/fb4347e402371fe71d43cecbb8052697 to your computer and use it in GitHub Desktop.
API Zero2One Turma 2
# API Mocky.io
### tips.header
tips.jsonp.title = tips.jsonp.body
tips.delay.title = tips.delay.body
tips.cors.title = tips.cors.body
*API Lista de tarefas*
http://www.mocky.io/v2/5ce336d9340000af527738ee
Response
[
{
"id": 1,
"tarefa": "Listar Tarefas"
},
{
"id": 2,
"tarefa": "Concluir Tarefas"
},
{
"id": 3,
"tarefa": "Filtrar tarefas"
}
]
`
*API Lista de itens*
http://www.mocky.io/v2/5ce33ce83400005488773901
Response
[
{
"id": 1,
"item": "Coca-Cola"
},
{
"id": 2,
"item": "Toddynho"
},
{
"id": 3,
"item": "Schweppes Citrus"
}
]
*API Lista de eventos*
http://www.mocky.io/v2/5ce340403400006ba6773907
Response
[
{
"id": 1,
"evento": "Zero2One"
},
{
"id": 2,
"evento": "Startup Weekend"
},
{
"id": 3,
"evento": "Startup SC"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment