I have a iOS app which can upload files to my Django API.
Heres the front-end code:
AF.upload(multipartFormData: { multipartFormData in