diff --git a/REST-GET-message.md b/REST-GET-message.md index e56a5e3..fa65709 100644 --- a/REST-GET-message.md +++ b/REST-GET-message.md @@ -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 + } + } \ No newline at end of file