Orestis Papadopoulos · Apr 26, 2021
How To Upload Data To A Server: Multipart/Form-Data HTTP Requests in Swift
0Sign in to vote or save
This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.
So you are making your first face beautifier© app and it’s about time to upload some images to a server. The backend person asks you to do it via a type of HTTP POST request known as multipart/form-data. Soon you come to realise that URLSession does not provide you with an out of the box URLRequest or DataTask for this specific task, despite the fact that this is a very standard way of uploading…
Read on /swift/http/ios/urlsession/2021/04/26/Multipart-Form-Requests.html ↗
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.