curl --request GET \
--url https://api.example.com/api/categorias/{nombre}{
"200": {},
"404": {},
"categoria_id": 123,
"nombre": "<string>",
"slug": "<string>",
"productos": [
{
"producto_id": 123,
"nombre": "<string>"
}
]
}Retrieve a specific category by its name
curl --request GET \
--url https://api.example.com/api/categorias/{nombre}{
"200": {},
"404": {},
"categoria_id": 123,
"nombre": "<string>",
"slug": "<string>",
"productos": [
{
"producto_id": 123,
"nombre": "<string>"
}
]
}{
"categoria_id": 1,
"nombre": "Electronics",
"slug": "electronics",
"productos": [
{
"producto_id": 101,
"nombre": "Laptop"
},
{
"producto_id": 102,
"nombre": "Smartphone"
}
]
}
curl -X GET https://api.iquea.com/api/categorias/Electronics