File download
Text file
Image
Image from external URL
Download file from an API in a new tab
Form POST, same origin
Form POST, cross-origin
Form POST, cross-origin, new tab
Cross-origin forms post to . Override it with ?downloadOrigin=, e.g. ?downloadOrigin=http://127.0.0.1:3001 when running on localhost:3001.