Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting the static file from filepicker.io

Filepicker.io seems to always return files with Content-Disposition: attachment; .. which is causing it to download or throw a save as dialog.

How can I get the file without this header? I would like users to just be able to open the image in their browser.

like image 763
kels Avatar asked Dec 18 '25 03:12

kels


1 Answers

You can use the ?dl=false flag.

https://www.filepicker.io/api/file/hFHUCB3iTxyMzseuWOgG?dl=false

like image 167
Liyan Chang Avatar answered Dec 21 '25 00:12

Liyan Chang