Browse thread
[Caml-list] access to the internet
-
Pierre LAFFITTE
-
Sven Luther
-
Richard Jones
- Artem Prisyznuk
- Eric C. Cooper
-
Richard Jones
-
Sven Luther
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2003-11-11 (14:20) |
From: | Eric C. Cooper <ecc@c...> |
Subject: | Re: [Caml-list] access to the internet |
On Tue, Nov 11, 2003 at 09:39:54AM +0000, Richard Jones wrote: > On Tue, Nov 11, 2003 at 10:21:26AM +0100, Sven Luther wrote: > > I agree that a full url-reading module would be a good addition to the > > ocaml library though, java has it for example. > > Actually there are two (at least) ways of doing this: > > http://sourceforge.net/projects/ocurl/ > > which is an OCaml wrapper around the Curl library. > > Or, you could use some Perl-fu with: > > http://www.merjis.com/developers/perl4caml/ I use a very simple Curl wrapper. Rather than exposing all the knobs that libcurl has, it just exports simple get and post functions: exception Error of string val get : string -> string val post : url:string -> data:string -> string val form : string -> (string * string) list -> string Contact me if you want a copy. -- Eric C. Cooper e c c @ c m u . e d u ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners