Timo von Holtz 5975e6c5b0
Haskell: JSON Query parameters (#18047)
* Allow json encoded query paramters

* Also fix haskell-http-client

* Regenerate haskell samples
2024-03-12 15:35:18 +08:00

22 lines
760 B
Plaintext

-- By default this file is used by `parseRoutesFile` in Foundation.hs
-- Syntax for this file here: https://www.yesodweb.com/book/routing-and-handlers
-- /static StaticR Static appStatic
/pet PetR PUT POST
/pet/findByStatus PetFindByStatusR GET
/pet/findByTags PetFindByTagsR GET
/pet/find PetFindR GET
!/pet/#Int64 PetByInt64R GET POST DELETE
/pet/#Int64/uploadImage PetByInt64UploadImageR POST
/store/inventory StoreInventoryR GET
/store/order StoreOrderR POST
/store/order/#Int64 StoreOrderByInt64R GET
!/store/order/#Text StoreOrderByTextR DELETE
/user UserR POST
/user/createWithArray UserCreateWithArrayR POST
/user/createWithList UserCreateWithListR POST
/user/login UserLoginR GET
/user/logout UserLogoutR GET
!/user/#Text UserByTextR GET PUT DELETE