Error processing SSI file
Error processing SSI file

Home » Development Area » DigiGuide Listings Grabber » API Index » Class: MultiHTTPRequest » addItem Method

Class MultiHTTPRequest : addItem Method


void addItem( String id, String httpMethod, String url, String postData, Array headers, String userName, String password )

Summary

Add an item to download


Parameters

ParameterDescription
String id ID used for this download.

This is your ID. It doesn't have to be any format or any special text. If you're downloading files to save then you could use this for the save filename.

String httpMethod Method used to grab. Only GET, POST, HEAD are currently supported.
String url Full URL you wish to download.
String postData Data you wish to POST to to the URL.
Array headers An array of strings, separated with colon (:)
String userName User name to use for authentication
String password Password you wish to use for authentication


Examples

	m.addItem( "logo", "GET", "http://www.digiguide.com/i/nav/banner_gradient.gif", "", arrRequestHeaders, "", "" );
m.addItem( "home", "GET", "http://www.digiguide.com/", "", "", "", "" );

m.addItem( "fatbird", "GET", "http://www.fatbird.com/asasdsadsda.asdsa", "", "", "", "" );


Requirements

Build Build 2

(Last updated: October 12, 2007 16:23:24)

Error processing SSI file