mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-17 17:47:03 +00:00
Updated REST GET mailbox (markdown)
@@ -2,8 +2,6 @@
|
|||||||
|
|
||||||
`GET /mailbox/{name}`
|
`GET /mailbox/{name}`
|
||||||
|
|
||||||
Example: `curl -i -H "Accept: application/json" http://localhost:9000/mailbox/swaks`
|
|
||||||
|
|
||||||
### Params
|
### Params
|
||||||
|
|
||||||
* name: Name of the mailbox to list the contents of
|
* name: Name of the mailbox to list the contents of
|
||||||
@@ -20,7 +18,7 @@ A JSON array of message header maps, containing the following fields:
|
|||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
Request: `GET /mailbox/swaks`
|
Request: `curl -i -H "Accept: application/json" http://localhost:9000/mailbox/swaks`
|
||||||
|
|
||||||
Response:
|
Response:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user