Closed MoAsmar closed 4 years ago
Hi @MoAsmar, For security reasons, you can't include your API secret in the client-side application. You can use Client-side resources to list resources from the client-side by their tags. The response is a JSON snippet containing all resources which correspond to the specified tag.
Hi, I already tried that resources url using one of my tags and getting 404 error, also isn't this a security issue and anyone with the url can access my images, is there any security options to access this ?
@MoAsmar In order to further assist and check the errors you are getting can you please open a ticket at support@cloudinary.com with your cloud name?
sure thanks
I am trying to read all my image resources through one of the Admin API
curl https://<API_KEY>:<API_SECRET>@api.cloudinary.com/v1_1/<cloud_name>/resources/image
but I couldn't get any data from angular, the cURL request is returning unkown error Also I tried using ajax call but the response was unauthorized.
I need a way to list all images in JSON from angular component, I tried the below: