1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2026-01-09 20:55:56 +00:00

Reorganize URI routes to be more RESTful

This commit is contained in:
James Hillyerd
2013-10-11 17:16:23 -07:00
parent d8ac1d78b0
commit 7b91a667a1
6 changed files with 25 additions and 19 deletions

View File

@@ -1 +1 @@
curl -i -H "Accept: application/json" --noproxy localhost http://localhost:9000/mailbox/list/$1
curl -i -H "Accept: application/json" --noproxy localhost http://localhost:9000/mailbox/$1

1
bin/message-delete.sh Executable file
View File

@@ -0,0 +1 @@
curl -i -H "Accept: application/json" --noproxy localhost -X DELETE http://localhost:9000/mailbox/$1/$2

View File

@@ -1 +1 @@
curl -i -H "Accept: application/json" --noproxy localhost http://localhost:9000/mailbox/source/$1/$2
curl -i -H "Accept: application/json" --noproxy localhost http://localhost:9000/mailbox/$1/$2/source