where can i get the API base URL /image Upload plz refer the pic i had send

Options
lara
lara Member Posts: 1
edited April 15 in Developer APIs
Tagged:

Answers

  • Wissam
    Wissam Member, Cloudinary Staff Posts: 72
    Options

    Hi @lara ,

    In Cloudinary, the base URL for uploading images via the API depends on your cloud name, which is a unique identifier assigned to your Cloudinary account.


    The base URL format for image uploads is as follows:

    ```

    https://api.cloudinary.com/v1_1/{cloud_name}/image/upload

    ```

    Replace `{cloud_name}` with your actual Cloudinary cloud name.


    To find your cloud name, follow these steps:

    1. Log in to your Cloudinary account at https://console.cloudinary.com/pm/developer-dashboard

    2. Navigate to the "Product Environment Credentials" section in the dashboard.

    3. Your cloud name will be displayed there.


    For example, if your cloud name is `demo_cloudinary`, the base URL for image uploads would be:

    ```

    https://api.cloudinary.com/v1_1/demo_cloudinary/image/upload

    ```

    You can use this base URL to upload images to Cloudinary via the API by sending an HTTP POST request with the image data and any desired upload parameters.

    It's important to note that you will also need to include your Cloudinary API key and secret in the request headers or as URL parameters for authentication purposes.

    For more detailed information on uploading images via the API, you can refer to the following documentation: https://cloudinary.com/documentation/image_upload_api_reference

    I hope this helps.

    Regards,

    Wissam