Using Win32 functions in Visual FoxPro Image Gallery
Internet Functions (WinInet)
..msdn
CreateMD5SSOHash
DeleteUrlCacheEntry
DetectAutoProxyUrl
FindCloseUrlCache
FindFirstUrlCacheEntry
FindFirstUrlCacheGroup
FindNextUrlCacheEntry
FindNextUrlCacheGroup
FtpCommand
FtpCreateDirectory
FtpDeleteFile
FtpFindFirstFile
FtpGetCurrentDirectory
FtpGetFile
FtpGetFileSize
FtpOpenFile
FtpPutFile
FtpRemoveDirectory
FtpRenameFile
FtpSetCurrentDirectory
GetUrlCacheEntryInfo
HttpOpenRequest
HttpQueryInfo
HttpSendRequest
InternetAttemptConnect
InternetAutodial
InternetAutodialHangup
InternetCanonicalizeUrl
InternetCheckConnection
InternetCloseHandle
InternetConnect
InternetCrackUrl
InternetDial
InternetFindNextFile
InternetGetConnectedState
InternetGetConnectedStateEx
InternetGetCookie
InternetGetLastResponseInfo
InternetGoOnline
InternetOpen
InternetOpenUrl
InternetQueryDataAvailable
InternetQueryOption
InternetReadFile
InternetSetCookie
InternetSetFilePointer
InternetTimeFromSystemTime
InternetTimeToSystemTime
InternetWriteFile
Code examples:
Custom HttpRequest class (WinINet)
HttpSendRequest
..msdn    Add comment     W32 Constants      Translate this page
This function sends the specified request to the HTTP server.
Code examples:
Custom HttpRequest class (WinINet)
Declaration:
BOOL WINAPI HttpSendRequest(
    HINTERNET hRequest, 
    LPCTSTR lpszHeaders, 
    DWORD dwHeadersLength, 
    LPVOID lpOptional, 
    DWORD dwOptionalLength
);
FoxPro declaration:
DECLARE INTEGER HttpSendRequest IN wininet;
    INTEGER hRequest,;
    STRING @lpszHeaders,;
    INTEGER dwHeadersLength,;
    STRING @lpOptional,;
    INTEGER dwOptionalLength

Parameters:
hRequest
[in] Open HTTP request handle returned by HttpOpenRequest.

lpszHeaders
[in] Long pointer to null-terminated strings that contain additional headers to be appended to the request. This parameter can be NULL if there are no additional headers to append.

dwHeadersLength
[in] Specifies the length, in characters, of the additional headers.

lpOptional
[in] Long pointer to any optional data to send immediately after the request headers.

dwOptionalLength
[in] Specifies the length, in bytes, of the optional data.
Return value:
TRUE indicates success. FALSE indicates failure.
Usage:
IF HttpSendRequest(m.hRequest, @cHeaders,;
    LEN(cHeaders), @cBody, LEN(cBody)) = 0
    ErrorCode = GetLastError()
ENDIF

My comment:
See HttpOpenRequest, InternetQueryDataAvailable, InternetReadFile, InternetCloseHandle.
Word Index links for the HttpSendRequest :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-11-02 18:27:30
Modified: 2007-06-11 21:54:20
Visited in last 7 days: 30
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.92.194.75)
17 sec.Function: 'LPtoDP'
35 sec.Function: 'NetServerEnum'
50 sec.Function: 'SetProcessPreferredUILanguages'
1.1 min.Function: 'CeEnumDBVolumes'
1.38 min.Function: 'URLDownloadToFile'
1.67 min.Function: 'LookupPrivilegeDisplayName'
1.95 min.Function: 'CertCloseStore'
2.25 min.Function: 'NetShareDel'
2.55 min.
Function group: 'Window Station and Desktop'
2.82 min.
Function group: 'GDI+ Graphics'
Google
Advertise here!