HTTP POST request doesn't work (and select file with filepicker to upload)

Well, you moved the goalposts by using the FilePicker, which returns a contenturi instead of a file path.

A quick fix is to use this extension:

which should convert your contenturi to a file path.