Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialgab brunette
875 Points(23) Failed writing body
any one can pin point what i am doing wrong (I changed the API key but everything else is the same in my console.
curl -H "Authorization: apikey 418bb5...2c54184391701bc-us10" -d '{"email_address":"examples@mailchimp.com","status":"pending",merge_fields":{"FNAME":"Nate","LNAME":"Treehouse"}}' https://us10.api.mailchimp.com/3.0/lists/7b049d9817/members | json
1 Answer
Iain Simmons
Treehouse Moderator 32,305 PointsSo I believe you're missing a double quote before merge_fields
.
Also, I wrapped your code in a code block to make it easier to read.