How can I get list of my products?

I created a client_id & client_secret in Authentication menu of Particle Console.
How can I get all products with this info?

I am getting following response from the API server:

work@work-MS-7788:~$ curl https://api.particle.io/v1/products -u "CLIENT_ID:CLIENT_SECRET"
{"error":"invalid_request","error_description":"Malformed auth header"}

It seems to be an issue on my terminal.

It works on Postman. Thanks!

1 Like