Skip to content

Commit

Permalink
add 4 extra spaces to example on http client
Browse files Browse the repository at this point in the history
  • Loading branch information
zlonast committed Feb 28, 2022
1 parent 7e9923c commit 075436c
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 075436c

Please sign in to comment.