Summary.Net Archives
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Summary-Talk] Re:



Hi,

Actually, the command that kicks it off is:

curl -u username:password -d "static=Write%20Static%20Reports" -d 
"set=All%20Sub-reports" http://stats.ai.org/DOTOOL

-F sends the request in x-form/multipart MIME content.  -d just submits 
the form.

Cool.  Now I can get to work on finishing my project :)

Jason Linhart wrote:
> On 6/23/03 4:47 PM Greg Swallow (gswallow@www.IN.gov) wrote:
> 
> 
>>In my continued backwards methodology of using this software, I wondered 
>>if there's a way I can call the /DOTOOLS URL that summary serves with 
>>curl?
> 
> 
> Yes.
> 
> 
>>curl -u username:password -F static=Write%20Static%20Reports 
>>http://stats.ai.org/DOTOOLS
>>
>>This is the *only* part that doesn't work.  The rest is just supplied 
>>for contextual purposes.
> 
> 
> It is /DOTOOL, not /DOTOOLS. Also, there need to be two arguments to 
> /DOTOOL
> -F "static=Write%20Static%20Reports"
>  and
> -F "set=All%20Sub-reports"
>  in that order.
> 
> Good Luck
> Jason
> 
> -----------------
> Jason@Summary.Net
> -----------------
> Dr. Seuss books . . . can be read and enjoyed on several levels. For
> example, 'One Fish Two Fish, Red Fish Blue Fish' can be deconstructed
> as a searing indictment of the narrow-minded binary counting system.
>   -- Peter van der Linden, Expert C Programming, Deep C Secrets
> 
> 


-- 
-- "I still think the odds are good that you can make a bet
  	         on what will be the odds" -- Tub Ring
+--------------+--------------------+---------------+----------------+
| Greg Swallow | System Administrator | accessIndiana | 888.4IN.EGOV |
+--------------+--------------------+---------------+----(446.3468)--+
-------------
Go to <http://summary.net/list.html> to update subscription info.