Unlocking an additional layer of safety to your iPhone is less difficult than you might suppose. With Two-Factor Time-Based One-Time Password (TOTP) authentication, you may bolster your device's protection and other website safety without relying on 1/3-party apps. Here's how you could set it up:
Here is working class example to upload file from apex salesforce.
https://conveet.blogspot.com/p/upload-file-using-multipartform-data.html
Upload file from apex using multipart/form data
https://conveet.blogspot.com/p/upload-file-using-multipartform-data.html
Upload file from apex using multipart/form data