mailchimp api javascript
Make sure your app is running and click the Send button on Postman. You can prepend await to subscribeToNewsletter(email): JavaScript will pause at the line with await subscribeToNewsletter({ email }); and continue only after subscribeToNewsletter({ email }) returns a response with a success or error message. Add these two imports to your subscribe.js file: Put the TextField and Button components inside a