From 627a5b9c2313ec7692bfdba32f5f5bde7424a06f Mon Sep 17 00:00:00 2001 From: James Hillyerd Date: Thu, 17 Oct 2013 14:53:40 -0700 Subject: [PATCH] Updated REST GET message (markdown) --- REST-GET-message.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/REST-GET-message.md b/REST-GET-message.md index 6caf1bb..aa411f7 100644 --- a/REST-GET-message.md +++ b/REST-GET-message.md @@ -19,14 +19,20 @@ Retrieve message body ### Example -Request: `curl -i -H "Accept: application/json" http://localhost:9000/mailbox/swaks/20131015T161202-0000` +Request: `curl -i -H "Accept: application/json" http://localhost:9000/mailbox/swaks/20131016T164638-0001` Response: (JSON reformatted for readability) + HTTP/1.1 200 OK + Content-Type: application/json; charset=utf-8 + Expires: -1 + Content-Length: 810 + Date: Thu, 17 Oct 2013 21:51:59 GMT + { "Mailbox": "swaks", "Id": "20131016T164638-0001", - "From": "jamehi03@jamehi03lx.noa.com", + "From": "jamehi03@server.com", "Subject": "Swaks HTML", "Date": "2013-10-16T16:46:38.646370568-07:00", "Size": 705, @@ -41,7 +47,7 @@ Response: (JSON reformatted for readability) "Wed, 16 Oct 2013 16:46:38 -0700" ], "From": [ - "jamehi03@jamehi03lx.noa.com" + "jamehi03@server.com" ], "Mime-Version": [ "1.0"