http-api-data-qq: Quasiquoter for building URLs with ToHttpApiData types

[ bsd3, library, web ] [ Propose Tags ]

Quasiquoter for building URLs with strings interpolated using ToHttpApiData instances

[Skip to Readme]


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS]
Change log
Dependencies base (>=4.12 && <5), http-api-data (>= && <0.6), template-haskell (>=2.14 && <2.20), text (>= && <2.1) [details]
License BSD-3-Clause
Maintainer Brandon Chinn <>
Revised Revision 2 made by brandonchinn178 at 2022-11-19T21:57:58Z
Category Web
Home page
Bug tracker
Source repo head: git clone
Uploaded by brandonchinn178 at 2021-12-18T20:19:11Z
Distributions LTSHaskell:, NixOS:, Stackage:
Downloads 141 total (18 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2021-12-18 [all 1 reports]

Readme for http-api-data-qq-

[back to package description]


CircleCI Hackage Codecov

Quasiquoter for building URLs with strings interpolated using ToHttpApiData instances.

{-# LANGUAGE QuasiQuotes #-}

import Network.HTTP.Client
import Web.HttpApiData.QQ (url)

userId :: Int
userId = 100

main :: IO ()
main = do
  manager <- newManager defaultManagerSettings
  request <- parseRequest [url|{userId}|]
  response <- httpLbs request manager
  print response