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:
@@ -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
1
bin/message-delete.sh
Executable file
@@ -0,0 +1 @@
|
||||
curl -i -H "Accept: application/json" --noproxy localhost -X DELETE http://localhost:9000/mailbox/$1/$2
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user