I use it another way to delete images.
Set your api URL to this: https://api.cloudinary.com/v1_1/XXX/resources/image/upload/
where XXX is your cloud name
Then, pass only one query parameter: public_ids
This parameter must receive your url file name, without path and extension.
Then you call DELETE method of api.
Of course it will be invalid signature.
The body section of the first URL should include only the following:
public_id
timestamp secret key
You are using signature in the first URL which is WRONG.
I cannot help you with the project because I do not have your secret key. You are the only one who can add it to the body section of the first URL to create the correct signature.
I encourage you to remove sensitive info from the forum.
This is the body section of the Hashify API
The public_id should be referring to the image. If you uploaded the image using the MediaDB component of Thunkable then the the public_id will be very similar in construction and format to the secret key you provided.
Sorry to reveal my secret key, as this is trial after that I will change my key.
Are you able to open my project?.
I changed as you said but same error.
I kept getting invalid signature with all the attempts and modifications I did and then I decided to use the credentials of my Cloudinary account and I immediately go this
I changed the code a bit and used a photo from the net (I did not use “select” option)
You can upload the image then test your own account to see that the photo is uploaded.
You can then use the delete option to remove it from your Cloudinary account.
Thank you very much now it is working fine.
I found one more problem by using photo library. I assigned Photo from Photo library to a label, here I get “file:///…” which shows invalid URL. Is there any solution to get file path correctly?.
I Used Media DB for uploading and took public Id from its URL like this.
I want to know weather I am doing right or any method.