Ba luot goi that, khong mo phong. Luot 2 di thang toi S3 - mo tab Network cua trinh duyet va doi chieu: request do khong cham backend.
POST {base}/upload-policy - IGNIS goi authorize(), tu choi neu
qua maxBytes, sinh khoa pending/<uuid>/<ten>, roi ky
policy va commitToken.
Form multipart toi postURL. file PHAI la field cuoi - S3 doc
theo thu tu va bo qua moi thu sau no. S3 tu kiem chu ky, tien to khoa va khoang dung
luong.
POST {base}/upload-commit - IGNIS kiem HMAC TRUOC khi cham S3, chay
onCommit, roi copy server-side tu pending/ sang khoa cuoi va xoa
ban tam.