Need to use Cloudinary without API and Secret. help me out?

I need to upload images to the cloudinary portal, I’ve already setup the upload as unsigned. I can upload the test image using HTML code and it works. However I need to upload in my kodular project and I see internal as well as external extensions all utilizes API and Secret and without them it just doesn’t work or throw error. Do we have any method to upload the media to cloudinary via web component without API or KEY or other available extension?

Hi dear,

Have you tried using uploadPreset?

I’ve been using that, what i’m trying to say is all the extension available here ask to input API and Secret to enable the upload. However we can use upload using upload preset that doesn;t need key. This guide is helpful, I just dont know how to trigger upload without API and key

I think you cannot do that, maybe I misread, but the API key is used for authorization and account identify, so when you say that without key I wonder where would these uploads go?

Have you read the documentation well?

You dont need API and Key to enable upload unless you are uploading a signed media. Below is the little block of HTML code, which let you upload an unsigned media in the directory you specified in the cloudinary Upload settings.

<form action="https://api.cloudinary.com/v1_1/YOUR_PROJECT_NAME/image/upload" method="POST" enctype="multipart/form-data">
  <input type="hidden" name="upload_preset" value="YOUR_UPLOAD_PRESET">
  <input type="file" name="file">
  <button type="submit">Upload to Cloudinary</button>
</form>

This worked for me!!! No need of API key or Secret, just cloudname, upload preset and folder name is enough. However it returns only URL and no other things, which is fine for now.

Cloudinary via API using Kodular (without using Cloudinary Extension) using multipart/form-data HTTP POST via Kodular Web Component - #13 by curious_singh - One more solution to the same with complete response dictionary.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.