Skip to content

Commit

Permalink
Merge pull request snoyberg#487 from zloilya/issue486
Browse files Browse the repository at this point in the history
add 4 extra spaces to example on http client
  • Loading branch information
snoyberg authored Feb 28, 2022
2 parents 7e9923c + 075436c commit 00d5803
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions http-client/Network/HTTP/Client.hs
Original file line number Diff line number Diff line change
Expand Up @@ -349,9 +349,9 @@ managerSetProxy po = managerSetInsecureProxy po . managerSetSecureProxy po
-- > -- Create the request
-- > let requestObject = object ["name" .= "Michael", "age" .= 30]
-- > let requestObject = object
-- > [ "name" .= ("Michael" :: Text)
-- > , "age" .= (30 :: Int)
-- > ]
-- > [ "name" .= ("Michael" :: Text)
-- > , "age" .= (30 :: Int)
-- > ]
-- >
-- > initialRequest <- parseRequest "http://httpbin.org/post"
-- > let request = initialRequest { method = "POST", requestBody = RequestBodyLBS $ encode requestObject }
Expand Down

0 comments on commit 00d5803

Please sign in to comment.