Struggling to access the mailchimp API and display list details? Unsure of how to send authentication credentials to retrieve the information you need? Here are a few attempts that have been made so far:
<iron-ajax
auto
url='https://us3.api.mailchimp.com/3.0/lists/{{listid}}'
handle-as='json'
method='get'
headers='{"Authorization": "Basic base64credentials"}'
debounce-duration='300'
last-response='{{json}}'></iron-ajax>
<iron-ajax
auto
url='https://us3.api.mailchimp.com/3.0/lists/{{listid}}'
handle-as='json'
method='get'
headers='{"user": "username:apikey"}'
debounce-duration='300'
last-response='{{json}}'></iron-ajax>
<iron-ajax
auto
url='https://us3.api.mailchimp.com/3.0/lists/{{listid}}'
handle-as='json'
method='get'
headers='{"Authorization": "Basic username:apikey"}'
debounce-duration='300'
last-response='{{json}}'></iron-ajax>