Do I need HttpClient.class.php ?

Hi everyone, I'm just beginning to experiment with the API. For my first project I want to integrate Machform with Campaign Monitor. Specifically I'm trying to modify this piece of code to interact with the API: http://www.appnitro.com/forums/topic/aweber-integration?replies=13#post-4668

I'm wondering if I need to download and include a copy of HttpClient.class.php like in the example above to send my POST request to the subscriber API? Or does the csrest_subscribers.php wrapper take care of that for me?

Thanks!

tobyb tobyb, 5 years ago

Hey,

The PHP wrapper takes care of all HTTP communications for you. We try and use the cURL extension if installed and fallback to raw socket communications if not. Full implementation details can be seen in transport.php

blogjunkie, 5 years ago

Thanks Toby!

Join 200,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free
1-888-533-8098