Come posso fare una richiesta HTTPS in Haskell?Come posso fare una richiesta HTTPS in Haskell?
Per esempio, voglio ottenere un request token
tramite HTTPS POST da Dropbox API
PS: Sto usando Windows 8
Come posso fare una richiesta HTTPS in Haskell?Come posso fare una richiesta HTTPS in Haskell?
Per esempio, voglio ottenere un request token
tramite HTTPS POST da Dropbox API
PS: Sto usando Windows 8
Grazie a pacchetti come http-conduit
, che è sostenuta da tls
, è possibile utilizzare simpleHttp
per HTTPS.
> import Network.HTTP.Conduit
> simpleHttp "https://github.com"
... big ugly bytestring that can be parsed in so many ways...
Se stai facendo OAuth, si potrebbe desiderare di utilizzare la [OAuth Haskell] pacchetto (http://hackage.haskell.org/package/hoauth-0.3.3), invece. –
Grazie, ma sto cercando di imparare il protocollo. – drozzy