> Does anyone have a small example program using CALLHTTP that works?
> Would like to study it for a project we need to do.

      equ E.URL to 'http://www.google.com'
      equ E.GET to 'GET'

      sessionHandle = ''
      httpHeaders   = ''
      httpStatus    = ''
      postData      = ''

      if not(createRequest(E.URL,E.GET,sessionHandle)) then
        crt 'status
':submitRequest(sessionHandle,25000,postData,httpHeaders,response,httpStatus
)
        crt 'http headers ':httpHeaders
        crt 'response ':response
      end else
        crt 'error creating request'
      end




**********************************************************************
This email message and any files transmitted with it are confidential
and intended solely for the use of addressed recipient(s). If you have 
received this email in error please notify the Spotless IS Support Centre (61 3 9269 
7555) immediately who will advise further action.

This footnote also confirms that this email message has been scanned
for the presence of computer viruses.
**********************************************************************
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to