Giraffe.TokenRouter
Giraffe.TokenRouter copied to clipboard
TokenRouter needs explicit GET when POST is used
Originally created by @forki in https://github.com/giraffe-fsharp/Giraffe/issues/158
Reminder for @gerardtoconnor ;-)
sent you actual routes in screenshot. It's along the lines of:
router notfound [
subRoute "/api" [
// get routes
route "/hey" f
POST [
route "/there" f2
]
]
not working. but following is:
router notfound [
subRoute "/api" [
GET [
route "/hey" f
]
POST [
route "/there" f2
]
]