CPP HTTP Request to AWS

I’m trying to upload files to aws, to the s3 bucket from the client, based on the parameters provided by the backend. This is the curl request that needs to be called:

curl --location 'https://xxx.s3.amazonaws.com/' \
--form 'key="media/spaces/config/main.json"' \
--form 'x-amz-algorithm="AWS4-HMAC-SHA256"' \
--form 'x-amz-credential="XXX/20230713/us-east-1/s3/aws4_request"' \
--form 'x-amz-date="XXX"' \
--form 'policy="XXX="' \
--form 'x-amz-signature="XXX"' \
--form 'file=@"/Users/XXX/Desktop/260663710.webp"'

I don’t know how to create this type of multi-form request in the CPP. Any advice?