Closed DreamlandOwO closed 9 months ago
nice.
Okay, I'm checking it
Alright, now will be properly transformed on upload 👌
And I don't see anything on upload, maybe is from your local dev env? My cookies list are empty.
Check the demo, it its not there too maybe its from one of my chrome extension, I don't know. I'll check it later.
Yea I still don't see it.. maybe
found the reason. nvm :)
merged the code, and I figured from your ss that the backend of the demo was legacy code :) updated the demo as well.
I just realize we can set request body by call
uppy.setMeta()
, so I grab the request body come out fromrequester.transformRequestParams()
and stick it in, now is properly transformed before upload.~But unfortunately I don't think we can transform request method or query params, that just doesn't seems possible (or may be too expensive?). If I try set method or endpoint in XHR plugin config, nothing will happen after called
uppy.upload()
instead of actually starting sending files to the server. I haven't try swap XHR plugin before upload, that's kinda dumb tho.~Nvm I literally found my way to do that part. Fixing right now.