mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-18 10:07:02 +00:00
Update for API v1
@@ -4,7 +4,7 @@ Retrieve message source
|
|||||||
|
|
||||||
### URI
|
### URI
|
||||||
|
|
||||||
`GET /mailbox/{name}/{id}/source`
|
`GET /api/v1/mailbox/{name}/{id}/source`
|
||||||
|
|
||||||
### Params
|
### Params
|
||||||
|
|
||||||
@@ -17,7 +17,7 @@ Plain text dump of the message headers and body in SMTP format.
|
|||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
Request: `curl -i -H "Accept: application/json" http://localhost:9000/mailbox/swaks/20131015T161202-0000/source`
|
Request: `curl -i -H "Accept: application/json" http://localhost:9000/api/v1/mailbox/swaks/20131015T161202-0000/source`
|
||||||
|
|
||||||
Response:
|
Response:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user