mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-17 17:47:03 +00:00
Updated REST GET message (markdown)
@@ -19,14 +19,20 @@ Retrieve message body
|
|||||||
|
|
||||||
### Example
|
### 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)
|
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",
|
"Mailbox": "swaks",
|
||||||
"Id": "20131016T164638-0001",
|
"Id": "20131016T164638-0001",
|
||||||
"From": "jamehi03@jamehi03lx.noa.com",
|
"From": "jamehi03@server.com",
|
||||||
"Subject": "Swaks HTML",
|
"Subject": "Swaks HTML",
|
||||||
"Date": "2013-10-16T16:46:38.646370568-07:00",
|
"Date": "2013-10-16T16:46:38.646370568-07:00",
|
||||||
"Size": 705,
|
"Size": 705,
|
||||||
@@ -41,7 +47,7 @@ Response: (JSON reformatted for readability)
|
|||||||
"Wed, 16 Oct 2013 16:46:38 -0700"
|
"Wed, 16 Oct 2013 16:46:38 -0700"
|
||||||
],
|
],
|
||||||
"From": [
|
"From": [
|
||||||
"jamehi03@jamehi03lx.noa.com"
|
"jamehi03@server.com"
|
||||||
],
|
],
|
||||||
"Mime-Version": [
|
"Mime-Version": [
|
||||||
"1.0"
|
"1.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user