curl / Mailing Lists / curl-users / Single Mail


Translating cUrl command into REST

From: Hernâni Fernandes <>
Date: Mon, 14 Nov 2016 12:00:11 +0000


I'm currently in a project where I'm trying to use Qualtrics API to import
a list of contacts (which is in a JSON file). The only way I'm able to
succeed in this call is by using cURL with a command as follows:

curl -X Post -H "X-API-Token: myToken" -H "Content-Type:
multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW" -F
-D "mailingListId=ML_3mDlcskNrepn0S9" "

I need to use this API via a REST request (not through cURL) though - and I
can't seem to figure out what is the result (as in, what is the REST
request that comest out) of this cURL command.

Can anyone help?

Thanks beforehand,
Hernâni Fernandes

Hernâni Fernandes | Delivery Manager
m: +351 93-046-1985
skype: hernani.filipe.dias.fernandes LinkedIn
Honored to be a Codie Award Winner • Forrester Low-Code Leader • Gartner
[image: OutSystems]

List admin:
Received on 2016-11-14