I was creating a controller to gets information from custom module and wonted to display the pdf or image on the website how to get the url. I was able to download it using this
return http.send_file(maybefiel, filename='sdsdds', as_attachment=False)
but I wonted to display it can you please help