Error 403: Basic Authentication is not available over HTTP

Participant

Error 403: Basic Authentication is not available over HTTP

I am getting the following error:
Error 403: Basic Authentication is not available over HTTP
for basic PHPSample code.

url: http://netsparx.org/constant_contact/getLists.php

Please help us as soon as possible.
Thanks in Advance.
1 REPLY 1
Frequent Participant

Hello netsparx,

The error message you are getting is accurate. In order to use Basic Authentication, you must use SSL. This means that a) Your need to use an http library that supports SSL and b) you have to change the URL you are using (within the getLists.php script):
https://api.constantcontact.com/ws/customers/xxxxx

Thanks,
Tom M
Group Product Manager – Content Editing
Constant Contact
Developer Portal

View API documentation, code samples, get your API key.

Visit Page