Get a list of images using a cloud browser using JavaScript or jQuery

I tried every possible code following this post , but the code gives me the following error

XMLHttpRequest cannot load https://api.cloudinary.com/cloud_name/resources/image. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8081' is therefore not allowed access.

Code (1)

$.get('https://app_key:app_secret@api.cloudinary.com/cloud_name/resources/image');

Code (2)

$.get('https://api.cloudinary.com/cloud_name/resources/image');

And for both, it cannot authenticate.

Note. I do not use server side programming. Please give me a solution or client side code.

+2
source share
1 answer

$.get(...) , ( jQuery). , api_secret , Cloudlast " " , , , . , , , , , ( ) , . : https://support.cloudinary.com/hc/en-us/articles/203189031-How-to-retrieve-a-list-of-all-resources-sharing-the-same-tag-

0

Source: https://habr.com/ru/post/1546145/


All Articles