I've got this code in cURL. I'd like to transform or execute it in PHP.
curl -X POST -H "auth_id: {{market_id}}" -H "auth_token: {{auth_token}}" -H "Content-Type: multipart/form-data;" -F "campaign_slug={{campaign_slug}}" -F "csv=@{{file.csv}}" 'https://{{market_subdomain}}.co-buying.com/api/potential_campaign_signups/upload'
Could you please tell me how to do it ?
Thank you Bastien