Sitemap Sitemap  |  Contact Us Contact Us  |  Clients Clients
   PostHTTPPage
  Home |  WebHare Lite |  Downloads |  HareScript |  Websites/CMS |  Applications
Search for:  in: 
HareScript
Internet connectivity
 
File transfer (FTP)
Hypertext transfer (HTTP)
IMAP library
MIME and RFC822
POP3 email
Simple Mail Transfer Protocol (SMTP)
TCP/IP connections
PostHTTPPage
  This function will get a url from the webserver
 
Library wh::internet/http.whlib
 
Syntax PUBLIC RECORD FUNCTION PostHTTPPage (INTEGER connectionid,STRING query,RECORD ARRAY variables)
 
Parameters
connectionid Integer id of the connection (opened by OpenHTTPServer)
query String containing the url to post to (example /path/script.shtml)
variables Record array with variables to post
  The record contains the following cells:
name
value
 
Returns Record containing the server response
  The record contains the following cells:
content String with response (body) from the server
protocol String of the protocol (example "HTTP/1.1")
code Integer of the return code
headers A record array of (field,value) strings containing the headers received with this request
 
 
In library 'http'
AddVariableToUrl
CloseHTTPServer
DecodeHTTPAuthenticationHeader
DeleteVariableFromUrl
EncodeDigestAuthorizationHeader
FormatHttpDateTime
FormatISO8601DateTime
GetHTTPPage
GetHTTPPageHeaders
GetVariableFromUrl
IsAbsoluteUrl
IsValidPlainHTTPURL
MakeRelativeLinkFromURL
OpenHTTPServer
OpenHTTPServerOnSocket
OpenSecureHTTPServer
PostHTTPPage
PostHTTPPageMultipart
ReplaceVariableInUrl
ResolveToAbsoluteURL
SendHTTPRequest
SetHTTPAuthentication
 
Top To top of page