0
I got the following database high:
{
"clientes": [
{
"id": 1,
"nome": "xxx",
"cidade": "Orlândia"
},
{
"id": 2,
"nome": "yyy",
"cidade": "Franca"
},
{
"id": 3,
"nome": "zzz",
"cidade": "Franca"
}
]
}
When I give the get in the url in Postman the data is returned successfully, but when I give a post in the url: http://localhost:5000/clientes
I send the following data and returns only the id, when I give the get again is added only the id.
I’m forgetting something?
How’s the
content-type
of Header?– renanvm
I got it now, I’ll add the answer
– veroneseComS