I am making an ajax request to a php controller and its making a curl request to get the data from api , I am getting this data
{"file":{"id":358904725,"filetype":"image/png","size":104204,"directURL":"url","protected":false}}
I want to extract directURL in php ,how can I do that .Please help