I was trying to post using windows app and simulating HttpClient PostAsync using MultipartFormDataContent,file as form data and
/bulk/v1/leads.json?access_token=<TOKEN_PLACE_HOLDER>&format=csv&listId=1002&file=tradeshow-attendees.csv" as querystring.
I thought there were two ways to post the file
1) cUrl & 2) Form post with querystring and file as HTTP content like standard Rest API's
file
|
Required
|
Lead data is specified through multi part form data in the file.
|
Thanks