private URL
Hi,
How can I create a private download URL using the REST API call from salesforce?
Thanks.
0
-
Please refer to the following article, which demonstrates such URL generation:
http://cloudinary.com/blog/how_to_quickly_build_a_stock_photo_site_using_cloudinaryIn 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×tamp=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
Post is closed for comments.
Comments
1 comment