Post a single file as blob-url from the frontend

Is it possible to create a file with a post-request using a blob-url?

This blob-url, which is generated from a canvas element, is stored in a hidden text input-field in my form.

I’ve been reading about file_put_contents() to create a file from blob. But I’m not so familiar with it’s usage…