User Tools

Site Tools


reference:vpop3net.gethttp

VPOP3Net.GetHTTP

This function takes a single parameter

  1. the URL to retrieve. This can be http:// or https://

The function returns two values

  1. a table containing the result of the GET
    • Host - the hostname
    • File - the filename
    • Headers - a table containing the response headers
    • Body - a table containing the response body (one line per table row)
    • ErrorInfo - a string containing error information
    • HTTPResult - a string containing the HTTP Response code (eg “200”)
    • StatedLength - the length of the response from the header
    • ActualLength - the actual length of the response received
  2. a boolean indicating success or failure

Notes

  • If the URL is an https:// URL and the certificate is not valid, the function will return a blank page, with no HTTPResult value either
reference/vpop3net.gethttp.txt · Last modified: 2021/03/09 16:42 by paul