A curl commamd is the only problem that I see as really difficult for me in the process of making a getBLS or getFRED in hansel.


-------- Original message --------
From: Allin Cottrell
Date:04/22/2014 2:59 AM (GMT-06:00)
To: r.lucchetti@univpm.it,Gretl development
Cc: Logan Kelly
Subject: Re: [Gretl-devel] New function for retrieving data from BLS

On Tue, 22 Apr 2014, Riccardo (Jack) Lucchetti wrote:

> On Mon, 21 Apr 2014, Logan Kelly wrote:
>> Question about readfile? Can you make an HTTP post request? Can you specify
>> a payload?
> Not at the moment, no, we have no native equivalent to the "curl" command.
> However, that's available for all major OSes, so you might as well issue a
> system call via "!" (see the help for the "shell" command) for now.

Since we link to libcurl these days, it wouldn't be difficult to expose
the equivalent of the "curl" command (or a least the most relevant subset
of its functionality) in hansl.