cURL example for listing categories