How to upload to S3 without a server

I want to upload files directly to my S3 bucket from a browser, without using Companion or a server. I have a secure method of generating a pre-signed PUT url, but the SDK still requires the endpoint method, which I assume is to support multipart uploads, but I’m not sure. Is this possible? How should I set this up?