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