Request has been blocked by CORS policy: Request header field authorization is not allowed by Access-Control-Allow-Headers
Hello
I'm trying to upload an image in an angular project using the following approach
1- service:
2- html:
2- ts:
but I'm getting the following error
can anyone help me ?
thanks
0
-
Hi Emad,
You have to do a POST method to your cloudinaryService API (backend) when you wish to use it on your frontend. Alternatively, you can also do a frontend upload directly to your Media Library account as described in this documentation: https://cloudinary.com/documentation/upload_images#uploading_with_a_direct_call_to_the_rest_api
0
Post is closed for comments.
Comments
1 comment