curl --request POST \
--url http://localhost:3091/v1/api/categories \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>"
}
'{
"id": 123,
"code": "<string>",
"name": "<string>"
}curl --request POST \
--url http://localhost:3091/v1/api/categories \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>"
}
'{
"id": 123,
"code": "<string>",
"name": "<string>"
}