pat...@gmail.com wrote:
> Hello all,
> I use Tcl 8.4 on Windows 7 and looking for actual examples of where
> TCL is used to interface with a public REST API?
Why on 8.4? 8.6 has been out now since 2012-10-20. You are missing
out on all the 8.5 goodness and 8.6 goodness by sticking with 8.4.
> I see there is a TclCurl package. Is that recommended or just use
> HTTP?
Depends upon your purpose, needs, and wants. The http package is pure
Tcl, so you have nothing to install. TclCurl is a compiled extension,
so you'll need a loadable library module for each architecture you
intend to target.
> Can HTTP package do everything TclCurl can do?
Given enough Tcl wrapping, I'd say yes.
But TclCurl can probably do some things out of the box that would
require a fair amount of code to prepare the data prior to using the
basic http package.