List all categories

This API helps you to list all categories.

HTTP Request
/wp-json/supportcandy/v2/categories
Example

curl --location --request GET 'http://localhost/wp-json/supportcandy/v2/categories' \ --header 'Authorization: Basic YWRtaW46bjVJWSBYc3pUIGlxN3MgSHhKWCA3YVdBIDlOblI='

Get single category

This API helps you to list a single category.

HTTP Request
/wp-json/supportcandy/v2/categories/<id>
Example

curl --location --request GET 'http://localhost/wp-json/supportcandy/v2/categories/1' \ --header 'Authorization: Basic YWRtaW46bjVJWSBYc3pUIGlxN3MgSHhKWCA3YVdBIDlOblI='

What are your feelings