How to attach CSV file to HTTP Request?

I want to read from Google Sheets, processes it and create a CSV file and attach it via a HTTP request.

I currnetly have the following operations

However, in the KV pairs section of the HTTP module, I do not have the option to select the CSV file.

How should I go about this?

Welcome to the Make community!

Try mapping the Text variable into the data field.

Hope this helps! Let me know if there are any further questions or issues.

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.

I tried passing the data in but that did not work.

This is what was sent

I am suppose to emulate the curl request here

curl -X POST "https://api.anymailfinder.com/v5.0/bulk/multipart" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: multipart/form-data" \
  -F "file=@your-leads-file.csv" \
  -F "domain_field_index=0" \

The issue is attaching the file in the multipart/form-data

cc @samliew