How to know if a public_id there
galley,
I can tell if a public_id there? If ever there was your upload
Which method to use in Java to know if there is or not.
0
-
You can issue a HEAD Request, for an example (in Rails):
require 'rest_client' url = cl_image_path(public_id) begin RestClient::Request.execute(:method => "HEAD", :url => url) puts "exists!" rescue puts "doesn't exist!" end
0
Post is closed for comments.
Comments
1 comment