In order to access a file on a user’s device, we had to use an HTML form. We still need the file input to access the files on the device. browsers have a Fetch API that we can use to make HTTP requests without forms.

1m read timeFrom hackernoon.com
Post cover image
3 Comments

Sort: