I've been trying to implement the #shareTarget API in my #PWA for years now and I'm *so close* to being able to accept files from a share (at least from #Chrome #Android) that I can *taste* it!!!
In manifest.json I set my `method` to "POST" and `enctype` to "multipart/form-data", but when I share to my app it just GETs the page with no POST or even querystring params.
I could try disabling the GET response and see what happens...
#progressivewebapps #javascript #enhance #rubberducky #Android #chrome #pwa #sharetarget
What's confusing to me is the "challenge" part. Apparently the server needs to provide it, but when? Should I send it along with every page I want to make authenticated form posts from? Or is this something I should do once, in a login form, and then send to the server to persist in a database?
Will this work for my #PWA #shareTarget posts? 🤔