curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

cURL Help

From: Nick Frese via curl-users <>
Date: Tue, 25 Jun 2019 19:16:24 +0000

We are using Filemaker Pro to submit to Pardot’s API. We are new to all this, and I am having all sorts of issues with the cURL options. Here is what I am sending:

--data-urlencode user_key=<user_key> \
--data-urlencode api_key=<api_key \
--data-urlencode from_name=First Last \
--data-urlencode \
--data-urlencode list_ids[]=2554 \
--data-urlencode html_content=Text%%unsubscribe%% \
--data-urlencode text_content=Text%%unsubscribe%% \
--data-urlencode name=TheName \
--data-urlencode subject=This Is The Subject \
--data-urlencode campaign_id=1256 \
--data-urlencode format=json

However, for the subject, I am getting only “This”. In other words, the code is being truncated at the first space. I know I have to be doing something dumb here, but I can’t figure it out. Under normal circumstances, I would have though quotation marks would do it. But nope. Here is the JSON being returned to me:

{"@attributes":{"stat":"ok","version":1},"email":{"id":485560249,"name":"TheName","isOneToOne":false,"subject":"This","message":{"text":"Text%%unsubscribe%%","html":"Text%%unsubscribe%%"},"created_at":"2019-06-25 15:08:22"}}

Any help may save me from pulling out more of my already thinning hair. Thanks!

Nick Frese
Communications Specialist

Nick Frese
Communications Specialist
Toll-Free: 800.766.2264 x8170 | Fax: 215.569.3639

Navigate Your Future.
Enjoy the Journey.

[Facebook]<> [LinkedIn] <> [Blog] <>
        One Liberty Place | 53rd Floor | 1650 Market Street | Philadelphia, PA 19103

The information transmitted, including attachments, is intended only for the person(s) or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error please contact the sender and destroy any copies of this information.

Envestnet, Inc. and Investment Advisor magazine selected finalists for the 13th Annual SMA Manager and Strategist of the Year Awards using Envestnet | PMC’s proprietary, systematic, and multi-factor methodology for evaluating managers. The award is not indicative of Clark Capital’s future performance.


Received on 2019-06-25