Transfer Method Yesod GET PUT DELETE What?
I have the following routes definition:
mkYesod "App" [parseRoutes|
/ ImagesR GET POST
/image/#ImageId ImageR DELETE
/static StaticR Static getStatic
/echo-body EchoBodyR PUT
|]
and one of the handlers has redirect ImagesR
. So which GET, POST or DELETE will be called after the redirect?
+3
source to share