title: Return URL image in Laravel API
body: <p>I need to return URL path and name image from database.</p>
  
  <p>This my call method to get data from database:</p>
  
  <pre><code>public function index(){
      $rav=Rav::select('id','image','nameravs')-&gt;get('image');
      return $this-&gt;sendResponse($rav-&gt;toArray(),'rav show is succesfuly');
  }
  </code></pre>
  
  <p>Output data it look like this:</p>
  
  <blockquote>
    <p>{
                "id": 88,
                "image": "1579781806.png",
                "nameravs": "asdad"
            },</p>
  </blockquote>
  
  <p>But I want to return image with path URL like this:</p>
  
  <blockquote>
    <p>"image": <a href="http://127.0.0.1:8000/images_ravs/1579781806.png" rel="nofollow noreferrer">http://127.0.0.1:8000/images_ravs/1579781806.png</a></p>
  </blockquote>