By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,758 Members | 1,225 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,758 IT Pros & Developers. It's quick & easy.

HOWTO Post to a URL from Server Side ASP script.

P: n/a
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
Share this Question
Share on Google+
3 Replies


P: n/a

"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

P: n/a
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

P: n/a
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.