StatsHub Docs
APIEndpoint referenceCategory

/category

POST
/api/category

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/api/category" \  -H "Content-Type: application/json" \  -d '{    "alpha2": "string",    "flag": "string",    "id": 0,    "name": "string",    "slug": "string"  }'
{  "id": 0,  "message": "string",  "name": "string"}