What is the proper way to upload a video to Cloudflare stream with Swift?
The curl command below works perfectly, but I can’t find how to deal with Swift.
curl --location --request POST 'https://api.cloudflare.com/client/v4/accounts/XXXXX/stream' \
–header ‘Authorization: Bearer XXXXX’
–form '[email protected]/Users/benoitcotte/Downloads/test.mp4