Unlocking an additional layer of security for your iPhone is easier than you might think. With Two-Factor Time-Based One-Time Password (TOTP) authentication, you can bolster your device's security and other website security without relying on third-party apps. Here's how you can 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