curl -H "client-token: api-mfr-0123456789abcdef0123456789ABCDEF" -H "user-token: usr-tkn-0123456789abcdef0123456789ABCDEF" -H "content-type: Application/JSON" -d {"location": "coa:10", "filing_id": "a093bcce-aeee-4684-95ab-f4ae0fe48494"} https://app.myfilerunner.com/api/v1/filing/postSmtpLog
curl --header "client-token: api-mfr-0123456789abcdef0123456789ABCDEF" --header "user-token: usr-tkn-0123456789abcdef0123456789ABCDEF" --header "content-type: Application/JSON" -d {"location": "coa:10", "filing_id": "a093bcce-aeee-4684-95ab-f4ae0fe48494"} https://app.myfilerunner.com/api/v1/filing/postSmtpLog
fetch("https://app.myfilerunner.com/api/v1/filing/postSmtpLog", {
"method": "POST",
"mode": "cors",
"headers": {
"client-token": "api-mfr-0123456789abcdef0123456789ABCDEF",
"user-token": "usr-tkn-0123456789abcdef0123456789ABCDEF",
"content-type": "Application/JSON",
},
"body": {
"location": "coa:10",
"filing_id": "a093bcce-aeee-4684-95ab-f4ae0fe48494"
}
}).then((response) => { response.JSON() })
.then((data) => {
//...
});