mdhas's avatar
Level 1

Uploading a file to a dynamic endpoint

Assuming I want to upload a video to my site. The problem is that at any time I might lose my connection so I need to be able to create a dynamic resumable endpoint. So I figure this would work this way...

The authenticated user would POST to /video/ which would generate a temporary file handle for the upload but for that to happen don't I need to be in the process of actually uploading a file? What happens if I need to resume the upload, can I just point the user to a "resume" end point? i.e. POST /video/:handle/resume.

0 likes
2 replies
mdhas's avatar
Level 1

Absolutely awesome idea, thanks for the link.

Please or to participate in this conversation.