documentation
documentation copied to clipboard
Example response for NodeJS
Sample response is wrong on https://documentation.mailgun.com/en/latest/api-domains.html#example when using NodeJS
The documentation says...
{
"items": [
{
"created_at": "Mon, 30 Sep 2019 16:20:48 GMT",
"id": "55a55f40803267158aa113e8",
"is_disabled": false,
"name": "samples.mailgun.org",
"require_tls": false,
"skip_verification": false,
"smtp_login": "[email protected]",
"spam_action": "disabled",
"state": "active",
"type": "sandbox",
"web_prefix": "email",
"web_scheme": "http",
"wildcard": false
}
],
"total_count": 1
}
However we're getting just an array...
[
{
"created_at": "Mon, 30 Sep 2019 16:20:48 GMT",
"id": "55a55f40803267158aa113e8",
"is_disabled": false,
"name": "samples.mailgun.org",
"require_tls": false,
"skip_verification": false,
"smtp_login": "[email protected]",
"spam_action": "disabled",
"state": "active",
"type": "sandbox",
"web_prefix": "email",
"web_scheme": "http",
"wildcard": false
},
]