469,945 Members | 1,910 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,945 developers. It's quick & easy.

HOWTO Post to a URL from Server Side ASP script.

ATS
HOWTO Post to a URL from Server Side ASP script.

Please help,

I'm trying to make a simple ASP page post to a URL on a seperate web site,
and then get the returned HTML into a string which on service side script I
can then parse. Is there any object built into IIS or Microsoft I could use
Server.CreateObject with to make this possible?

Jul 26 '06 #1
3 2224

"ATS" <AT*@discussions.microsoft.comwrote in message
news:8F**********************************@microsof t.com...
HOWTO Post to a URL from Server Side ASP script.

Please help,

I'm trying to make a simple ASP page post to a URL on a seperate web site,
and then get the returned HTML into a string which on service side script
I
can then parse. Is there any object built into IIS or Microsoft I could
use
Server.CreateObject with to make this possible?
Research the "MSXML2.ServerXMLHTTP" object.


Jul 26 '06 #2
ATS wrote:
HOWTO Post to a URL from Server Side ASP script.

Please help,

I'm trying to make a simple ASP page post to a URL on a seperate web
site, and then get the returned HTML into a string which on service
side script I can then parse. Is there any object built into IIS or
Microsoft I could use Server.CreateObject with to make this possible?
http://www.aspfaq.com/show.asp?id=2173
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jul 26 '06 #3
Hi is it possible to dio this on sites using windows authentication.
Using teh method below I get this error.

HTTP 401.2 - Unauthorized: Logon failed due to server configuration
Internet Information Services

--------------------------------------------------------------------------------

Technical Information (for support personnel)

Background:
This is usually caused by a server-side script not sending the proper
WWW-Authenticate header field. Using Active Server Pages scripting this
is done by using the AddHeader method of the Response object to request
that the client use a certain authentication method to access the
resource.
Bob Barrows [MVP] wrote:
ATS wrote:
HOWTO Post to a URL from Server Side ASP script.

Please help,

I'm trying to make a simple ASP page post to a URL on a seperate web
site, and then get the returned HTML into a string which on service
side script I can then parse. Is there any object built into IIS or
Microsoft I could use Server.CreateObject with to make this possible?
http://www.aspfaq.com/show.asp?id=2173
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Aug 18 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Tim Wade | last post: by
6 posts views Thread by Phillip N Rounds | last post: by
3 posts views Thread by PVU | last post: by
1 post views Thread by David. E. Goble | last post: by
6 posts views Thread by Ian Boyd | last post: by
8 posts views Thread by Laith Zraikat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.