Transfert issue with Post file / chunked

Hello,

Since the Eagle update, I have some troubles when I upload files from Kodular to some mulitentants hosters.
After some researchs, I found that they don’t support the Transfer-Encoding: chunked, and when it is used the php://input is empty.

blocks

Is-it possible to set the header “Content-Length:” instead ?

Regards,

yes you can
just set the request header accordingly
for an example see here App Inventor Tutorials and Examples: Dropbox | Pura Vida Apps

Taifun

Thanks, but how I can I get the content length to set (size of file ?)
I assume that the “Transfer-Encoding: chunked” will be set anyway by Kodular.

you might want to use the Length method from the file extension

Taifun

1 Like

Thanks a lot, I’ll try this ! :slight_smile: