Discussion:
HttpSendRequest on localhost
(too old to reply)
Robert Harper
2004-09-23 14:56:17 UTC
Permalink
I am trying to use a servlet to capture a post from an application that is
using WinINet to send the data. I can use IE to browse to the servlet and
receive a response. When I make my call to HttpSendRequest(), the function
fails and GetLastError() returns ERROR_INTERNET_NAME_NOT_RESOLVED. Is there
a limitation in WinINet that it must be a WWW service?
Paul Baker [MVP, Windows - SDK]
2004-09-23 20:20:47 UTC
Permalink
I don't know woat you mean by "a servlet" and "must be a WWW service".

WinInet should be able to send a HTTP request to any HTTP server.

However, WinInet is not supported for use in a Windows service.

Paul
Post by Robert Harper
I am trying to use a servlet to capture a post from an application that is
using WinINet to send the data. I can use IE to browse to the servlet and
receive a response. When I make my call to HttpSendRequest(), the function
fails and GetLastError() returns ERROR_INTERNET_NAME_NOT_RESOLVED. Is there
a limitation in WinINet that it must be a WWW service?
Loading...