Esta é uma API simples para gerenciar pizzas. A API permite criar, ler, atualizar e excluir (CRUD) pizzas.
Get /PizzaController
[
{
"id": 1,
"name": "Italiana",
"conGluten": false
},
{
"id": 2,
"name": "Calabresa",
"conGluten": true
}
]
Get /PizzaController/{id}
{
"id": 1,
"name": "Italiana",
"conGluten": false
}
Post /PizzaController
{
"name": "Margherita",
"conGluten": true
}
{
"id": 3,
"name": "Margherita",
"conGluten": true
}
Put /PizzaController/{id}
{
"id": 1,
"name": "Margherita Updated",
"conGluten": false
}
204 No Content
Delete /PizzaController/{id}
204 No Content