取得其他网站的回应 [英] Get response from other website

查看:82
本文介绍了取得其他网站的回应的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我面临一个大问题,我正在通过查询字符串向其他网站发送一些数据,
发布后如何获得任何错误的响应,我无法从该网站获得任何响应.

他们也没有兴趣编写任何Web服务,也看不到他们的代码,

请咨询

在此先感谢
Raj

解决方案

他们也不感兴趣编写任何Web服务,也看不到他们的代码,
这仅意味着您尝试访问的网站没有托管数据的Web服务,并且在不久的将来也没有计划.现在,为了从该网站获取内容,您需要进行页面抓取.

看看这个:
MSDN:带示例的WebRequest类详细信息 [ CP Vanity [代码项目论坛分析器:找出您没有多少人生! [ ^ ]


Hi All,
I am facing a big problem , i am sending some data through query string to other website ,
How can i get a response that is there any error after posting , i cannot able to get any response from that website .

also they are not interested to write any webservice and am not able to see their code too,

Please Advice

Thanks in Advance
Raj

解决方案

also they are not interested to write any webservice and am not able to see their code too,
This only means that the website you are trying to access has no webservice hosted for data and they have no plans either in near future. Now, in order to get something from that website, you need to do page scrapping.

Have a look at this:
MSDN: WebRequest Class details with sample[^]

Other Samples:
CP Vanity[^]
The Code Project Forum Analyzer : Find out how much of a life you don''t have![^]


这篇关于取得其他网站的回应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆