private URL

Comments

1 comment

  • Avatar
    Roee Ben Ari

    Please refer to the following article, which demonstrates such URL generation:
    http://cloudinary.com/blog/how_to_quickly_build_a_stock_photo_site_using_cloudinary

    In specific -

    This:

    <%= link_to("Download", cl_private_download_url("sheep", :jpg)) %>
    

    Should be translated to this:

    https://api.cloudinary.com/v1_1/private-demo/image/download?api_key=824698761754661&format=jpg&public_id=sheep&signature=d994c2b972c30d84d33fde684aa377fc17878be6&timestamp=1346076992
    

    In your Salesforce application, you'll have to generate a URL similar to the latter. The signature should be generated based on your API Secret, as described here.

    0
    Comment actions Permalink

Please sign in to leave a comment.