. addHeader("Authorization","Basic { access_token}")

Highlighted
Occasional Contributor

. addHeader("Authorization","Basic { access_token}")

Prompt me this question. addHeader("Authorization","Basic { access_token}")

What is the reason, what should I do?

Tags (1)
3 REPLIES 3
Highlighted
Moderator

Re: . addHeader("Authorization","Basic { access_token}")

Hello,

 

Thank you for reaching out to Constant Contact API Developer Support.

 

Can you clarify what you're looking to accomplish? Our Authorization headers should be Bearer rather than Basic, and your access token is obtained during the OAuth flow.

 

Are you using our V2 or V3 API?

 

Regards,

 

David B.
Tier II API Support Engineer

Highlighted
Occasional Contributor

Re: . addHeader("Authorization","Basic { access_token}")

I am using v3

Highlighted
Moderator

Re: . addHeader("Authorization","Basic { access_token}")

Hello,

 

Where are you being prompted to do this?


Are you working in an app you are building, or are you using a 3rd party integration?

 

Regards,

 

David B.
Tier II API Support Engineer

Developer Portal

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

Visit Page

Register for our "Making Sense of Online Marketing for Retail" Webinar

Join us on Thursday, August 13th at 2pm ET for a free webinar where we'll discuss how to incorporate online marketing into your retail store.

Read More
Featured