1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 09:37:02 +00:00

Updated REST GET message (markdown)

James Hillyerd
2013-10-16 17:01:42 -07:00
parent 9480446f13
commit 33fc028eac

@@ -21,17 +21,17 @@ Request: `curl -i -H "Accept: application/json" http://localhost:9000/mailbox/sw
Response:
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 264
Date: Tue, 15 Oct 2013 23:52:09 GMT
Date: Tue, 15 Oct 2013 16:12:02 -0700
To: swaks@inbucket.local
From: jamehi03@server.com
Subject: Swaks Plain Text
X-Mailer: swaks v20130209.0 jetmore.org/john/code/swaks/
This is a test mailing.
This should be clickable: http://google.com/
{
"Body":{
"Text":"This is a test mailing.\r\n\r\nThis should be clickable: http://google.com/\r\n",
"Html":"\u003chtml\u003e\n\u003cbody\u003e\n\u003cp\u003eThis is a test mailing [...]"
},
"Header":{
"Mailbox":"swaks",
"Id":"20131016T164638-0001",
"From":"jamehi03@server.com",
"Subject":"Swaks HTML",
"Date":"2013-10-16T16:46:38.646370568-07:00",
"Size":705
}
}