Open
Description
Hello
while working on an API, I end up with this error
/home/experiences/instrumentation/picca/autoprocess-exe/src/Web.hs:95:32: error:
• No instance for (Servant.API.ContentTypes.MimeUnrender
HTML (Text.Blaze.Internal.MarkupM ()))
arising from a use of ‘client’
• In the expression: client myApi
In a pattern binding: postJobSpecSub :<|> homepage = client myApi
|
95 | postJobSpecSub :<|> homepage = client myApi
| ^^^^^^^^^^^^
-- While building custom Setup.hs for package autoprocessing-0.1.0.0 using:
/home/experiences/instrumentation/picca/.stack/setup-exe-cache/x86_64-linux/Cabal-simple_mPHDZzAJ_2.0.1.0_ghc-8.2.2 --builddir=.stack-work/dist/x86_64-linux/Cabal-2.0.1.0 build lib:autoprocessing exe:autoprocessing-exe --ghc-options " -ddump-hi -ddump-to-file"
Process exited with code: ExitFailure 1
So my question is what is the proper way to use the client part in an API
Cheers
Metadata
Metadata
Assignees
Labels
No labels