http-enumerator / http-conduit doesn't matter if you use POST, PUT, DELETE, etc. You just need to change the method entry of the Request data type. It is best to rely on OverloadedStrings for this, for example:
{-# LANGUAGE OverloadedStrings #-} import Network.HTTP.Enumerator main = do req <- parseUrl "http://www.example.com/put-url" withManager $ httpLbs req { method = "PUT" }
NTN
source share