Access Mailchimp Api 3.0 (get)
I'm trying to make a GET request through jQuery to the Mailchimp API. It seems though my custom header is not correctly set as I get a Your request did not include an API key. erro
Solution 1:
You need to add the key via Basic Auth like and as far I am aware off, You can't query it from front-end, it must be on the back-end.
Find an example in NodeJS:
headers: {
'Authorization': 'Basic ' + newBuffer(`anything:${MailChimpKey}`).toString('base64');
}
Post a Comment for "Access Mailchimp Api 3.0 (get)"