haskell-servant / haskell-servant/servant

Routing based Content-Type

Open
#1,261 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
2k
Forks
427
Avg merge
2d 23h
Merged PRs (30d)
5

Description

Hi,

In following API last (3rd endpoint is not reachable)
```
type Api = ("path" :> (RePar "p" Int :> Post '[PlainText] Bool
:<|> Get '[HTML] AddRedirectMappingPage
:<|> ReqBody '[FormUrlEncoded] RedirectMappingForm :> Post '[PlainText] ())
```

Application compiles and runs but HTTP clients gets 400 with "parameter p is missing".

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.