How can I setup api for mailchimp

hi everyone,

I’m stucking at setup the mailchimp api, I wanna update my contact into mailchimp list
and web api mailchimp using http basic authentication: ([])(

curl --request GET \
--url '' \
--user 'anystring:<your_apikey>'

I have my api key, but I cannot setup in thunkable (fetching error)

thanks for reading

1 Like


To begin with, I would recommend that you study scrTinyPNG, and then use its example to make your blocks with basic authentication


unfortunately the result when call get api didn’t show in live test web or web responsive,
It showed result on Thunkable live app,
thanks for your kindly support as usual @actech

If you open the console in the browser by pressing F12, you will see the reason why this does not work in the browser preview.

1 Like

this is the error
Access to fetch at ‘’ from origin ‘’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. If an opaque response serves your needs, set the request’s mode to ‘no-cors’ to fetch the resource with CORS disabled.
I already add the Access-Control-Allow-Origin: * into the header but still error

Now you know how to view logs in the browser, if something doesn’t work, and what CORS is, which sometimes you have to deal with

1 Like

thanks for your information @actech