☃️  Plan, promote, and optimize your holiday campaigns like a pro.❄️

HTTPRequest class doesn't exist in PHP 7+ (replacement in documentation)

Problem: 

HTTPRequest class doesn't exist in PHP 7+

The HTTP extension is a PECL package that needs to be installed separately.

This is 'difficult to impossible' to accomplish on shared hosting platforms

$request = new HttpRequest();

 

However, the https://v3.developer.constantcontact.com/ guide consistently uses HttpRequest() as the example.

 

Requested Solution:

Test, confirm and show real world working examples using cURL instead.

1 reply

Join Our New Small Business Marketplace!

We're highlighting small businesses from our community. Add your business to the Marketplace to get discovered by new customers and support other entrepreneurs.