我将此对象作为 HTTP POST 发送:
{
"email_address": "rickard@transticket.se",
"status": "subscribed",
"merge_fields": {
"APA": "1",
"HEJ": "2"
}
}
至https://us13.api.mailchimp.com/3.0/lists/045dfc0a43/members
我得到了这个回应:
{
"type": "http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/",
"title": "Invalid Resource",
"status": 400,
"detail": "The resource submitted could not be validated. For field-specific details, see the 'errors' array.",
"instance": "",
"errors": [ {
"field": "",
"message": "Schema describes object, array found instead"
}]
}
有任何想法吗?