1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 17:47:03 +00:00

Update for API v1

James Hillyerd
2016-02-25 19:34:04 -08:00
parent db8aedfd5b
commit 937d989034

@@ -4,7 +4,7 @@ Purge contents of mailbox.
### URI ### URI
`DELETE /mailbox/{name}` `DELETE /api/v1/mailbox/{name}`
### Params ### Params
@@ -16,7 +16,7 @@ JSON encoded string "OK"
### Example ### Example
Request: `curl -i -H "Accept: application/json" -X DELETE http://localhost:9000/mailbox/swaks` Request: `curl -i -H "Accept: application/json" -X DELETE http://localhost:9000/api/v1/mailbox/swaks`
Response: Response: