I tried the following, upload is successful and returns an object as response
and I received the following response
Cloudinary\Api\ApiResponse Object ( [rateLimitResetAt] => [rateLimitAllowed] => 0 [rateLimitRemaining] => 0 [headers] => Array ( [Date] => Array (  => Sat, 28 May 2022 18:58:47 GMT ) [Content-Type] => Array (  => application/json; charset=utf-8 ) [Transfer-Encoding] => Array (  => chunked ) [Connection] => Array (  => keep-alive ) [Vary] => Array (  => Accept-Encoding ) [Status] => Array (  => 200 OK ) [Cache-Control] => Array (  => max-age=0, private, must-revalidate ) [X-XSS-Protection] => Array (  => 1; mode=block ) [X-Request-Id] => Array (  => a57f3df3ad7ba508ac21009183adb527 ) [X-UA-Compatible] => Array (  => IE=Edge,chrome=1 ) [ETag] => Array (  => "38ba68cdf700d347e507b1f5e15176fe" ) [Server] => Array (  => cloudinary ) ) [storage:ArrayObject:private] => Array ( [asset_id] => 68b431d7e07ffeca56af43062eb6da22 [public_id] => mythumbs/Broccoli [version] => 1653764327 [version_id] => ba3190f6dc801e856e8056ac0e2a8be8 [signature] => 50974060aa15a82b8fa0e5ee6c49809d82c46189 [width] => 600 [height] => 600 [format] => gif [resource_type] => image [created_at] => 2022-05-28T18:58:47Z [tags] => Array ( ) [pages] => 1 [bytes] => 13349 [type] => upload [etag] => fc64f57bcf6066b19f1b7d803298bc25 [placeholder] => [url] => http://res.cloudinary.com/cloudname/image/upload/v1653764327/mythumbs/Broccoli.gif [secure_url] => https://res.cloudinary.com/cloudname/image/upload/v1653764327/mythumbs/Broccoli.gif [folder] => mythumbs [original_filename] => Broccoli [api_key] => ) )
I want to read the secure url and store it in db. how to do that, I couldn't find any example in the documetation section.
Post is closed for comments.