iOS Swift 5 function, POST image to API, include bearer token

Job ID: 31318277

Budget: $10 – $30 USD

Need iOS function written in Swift 5 that posts to an image to a API (.jpg or .png pulled from UIImageView) with a request that includes a bearer token. Completion handler needs to process a JSON response. Would prefer to do this with URLSession not AlamoFire.
Related categories: iPhone iPad Swift iOS Development Apple Xcode