Hi,
Forgot to add,
the ContentType is set to application/json
[st][3] [netTalk][thread=3] TVCWEB - p_web.RequestContentType:application/json
[st][3] [netTalk][thread=3] TVCWEB - p_web._UserAgent:postmark
below the post data from the server window
POST /ReceiveStatements HTTP/1.1
Host:
www.vineyardconnection.co.zaX-PM-Webhook-Trace-Id: c2d5bcbc-1eff-4695-bfe9-c2be112ce564
X-PM-Webhook-Event-Id: test-hook
X-PM-Retries-Remaining: 0
Expect: 100-continue
Connection: close
User-Agent: Postmark
Content-Type: application/json
Content-Length: 1702
{
"Date": "Sat, 30 Mar 2024 11:35:48 +0000",
"From": "support@postmarkapp.com",
"FromName": "Postmarkapp Support",
"FromFull": {
"Email": "support@postmarkapp.com",
"MailboxHash": "",
"Name": "Postmarkapp Support"
},
"HtmlBody": "<html><body><p>This is a test html body.</p></body></html>",
"MailboxHash": "SampleHash",
"MessageID": "00000000-0000-0000-0000-000000000000",
"MessageStream": "inbound",
"ReplyTo": "replyto@example.com",
"Subject": "Test subject",
"Tag": "TestTag",
"TextBody": "This is a test text body.",
"Headers": [
{
"Name": "X-Header-Test",
"Value": ""
}
],
"To": "\"Firstname Lastname\" <mailbox+SampleHash@inbound.postmarkapp.com>",
"ToFull": [
{
"Email": "mailbox+SampleHash@inbound.postmarkapp.com",
"MailboxHash": "SampleHash",
"Name": "Firstname Lastname"
}
],
"Cc": "\"First Cc\" <firstcc@postmarkapp.com>, secondCc@postmarkapp.com",
"CcFull": [
{
"Email": "firstcc@postmarkapp.com",
"MailboxHash": "",
"Name": "First Cc"
},
{
"Email": "secondCc@postmarkapp.com",
"MailboxHash": "",
"Name": ""
}
],
"Bcc": "\"First Bcc\" <firstbcc@postmarkapp.com>",
"BccFull": [
{
"Email": "firstbcc@postmarkapp.com",
"MailboxHash": "",
"Name": "First Bcc"
}
],
"StrippedTextReply": "This is the reply text",
"OriginalRecipient": "mailbox+SampleHash@inbound.postmarkapp.com",
"Attachments": [
{
"Name": "test.txt",
"Content": "VGhpcyBpcyBhdHRhY2htZW50IGNvbnRlbnRzLCBiYXNlLTY0IGVuY29kZWQu",
"ContentLength": 45,
"ContentType": "text/plain",
"ContentID": ""
}
]
}
Johan