-
-
Save mklinik/29de83fe88a5c873db9b232a6f752760 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
===> from AWS | |
POST /public/mailse/aws HTTP/1.0 | |
X-Forwarded-For: FOO | |
Host: localhost:8555 | |
Connection: close | |
Content-Length: 2656 | |
X-Real-IP: FOO | |
X-Forwarded-Proto: https | |
x-amz-sns-message-type: Notification | |
x-amz-sns-message-id: FOO | |
x-amz-sns-topic-arn: FOO | |
x-amz-sns-subscription-arn: FOO | |
Content-Type: text/plain; charset=UTF-8 | |
User-Agent: Amazon Simple Notification Service Agent | |
Accept-Encoding: gzip,deflate | |
{ | |
"Type" : "Notification", | |
"MessageId" : "FOO", | |
"TopicArn" : "FOO", | |
"Subject" : "Amazon SES Email Event Notification", | |
"Message" : "{\"eventType\":\"Open\" THE-OPEN-NOTIFICATION... | |
"Timestamp" : "2022-09-15T07:23:18.725Z", | |
"SignatureVersion" : "1", | |
"Signature" : "FOO", | |
"SigningCertURL" : "FOO", | |
"UnsubscribeURL" : "FOO" | |
} | |
<=== our answer | |
HTTP/1.0 401 Unauthorized | |
Date: Thu, 15 Sep 2022 07:23:18 GMT | |
Server: Warp/3.3.18 | |
Content-Type: application/json;charset=utf-8 | |
Cache-Control: no-cache | |
WWW-Authenticate: Basic realm=".example.com" | |
{"status":"error","errorMessage":"no_basic_auth_header_found"} | |
===> from AWS | |
POST /public/mailse/aws HTTP/1.0 | |
X-Forwarded-For: FOO | |
Host: localhost:8555 | |
Connection: close | |
Content-Length: 2656 | |
X-Real-IP: FOO | |
X-Forwarded-Proto: https | |
x-amz-sns-message-type: Notification | |
x-amz-sns-message-id: FOO | |
x-amz-sns-topic-arn: FOO | |
x-amz-sns-subscription-arn: FOO | |
Content-Type: text/plain; charset=UTF-8 | |
User-Agent: Amazon Simple Notification Service Agent | |
Accept-Encoding: gzip,deflate | |
Authorization: Basic YXdzc25zOmF3c3Rlc3RwYXNz | |
{ | |
"Type" : "Notification", | |
"MessageId" : "FOO", | |
"TopicArn" : "FOO", | |
"Subject" : "Amazon SES Email Event Notification", | |
"Message" : "{\"eventType\":\"Open\" THE-OPEN-NOTIFICATION... | |
"Timestamp" : "2022-09-15T07:23:18.725Z", | |
"SignatureVersion" : "1", | |
"Signature" : "FOO", | |
"SigningCertURL" : "FOO", | |
"UnsubscribeURL" : "FOO" | |
} | |
<=== our answer | |
HTTP/1.0 204 No Content | |
Date: Thu, 15 Sep 2022 07:23:22 GMT | |
Server: Warp/3.3.18 | |
Cache-Control: no-cache | |
Content-Type: application/json;charset=utf-8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment