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 <curl-users_at_cool.haxx.se>
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 from_email=myemail_at_comain.com \
--data-urlencode replyto_email=myemail_at_comain.co\
--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!


[cid:image90c689.PNG_at_33fc3f4a.43884d2d]
Nick Frese
Communications Specialist
Email: NFrese_at_ccmg.com





[cid:imagee1e413.PNG_at_f93df10f.4a8fb7e1]
Nick Frese
Communications Specialist
Email: NFrese_at_ccmg.com
Website: www.ccmg.com
Toll-Free: 800.766.2264 x8170 | Fax: 215.569.3639

[cid:image11e6d2.PNG_at_4d685292.48adcc1b]
Navigate Your Future.
Enjoy the Journey.


________________________________
[Facebook]<https://www.facebook.com/clarkcapital> [LinkedIn] <http://www.linkedin.com/company/231073?trk=tyah&trkInfo=tas%3Aclark%20capital%2Cidx%3A1-2-2> [Blog] <https://www.ccmg.com/resource-center/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.

-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html

image90c689.PNG
imagee1e413.PNG
image11e6d2.PNG
image228f05.PNG
image7c25fd.PNG
imagef9776f.PNG
Received on 2019-06-25