登录到Web主机并添加一个Addon域 [英] logging in to a web host and adding an Addon domain

查看:100
本文介绍了登录到Web主机并添加一个Addon域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何编写代码以登录到Web主机并使用asp.net(C#)添加Addon域.

How to write code for logging in to a web host and adding an Addon domain using asp.net(C#).

推荐答案

您需要与虚拟主机,看看他们是否支持.通常,如果他们这样做,他们将为Web服务提供与您的帐户相关联的身份验证,您将对此进行编程.

如果您要使不支持API/SDK/webservice集成的网站自动化,那么您还有很长的路要走.您将需要手动请求页面,对其进行解析,然后构造POST响应以填写表格.您还将受到他们的怜悯,就好像他们更改任何表单字段或具有反脚本/自动化安全性一样,您将无法做到这一点.

请与您的房东联系.如果它是基于开源的主机,则可能会在网络上提供更多信息.

干杯.
You will need to contact the web host and see if they support this. Typically, if they do, they will provide a webservice with authentication that would be tied to your account, and you would program against that.

If you are trying to automate a site that does not support API/SDK/webservice integration, you have a lot longer of a road. You will need to request pages manually, parse them and then construct POST responses to fill out forms. You will also be at their mercy as if they change any form field or have anti-scripting/automation security you will not be able to do this.

Check with your host. If it is an open-source based host, their might be more information out on the webs.

Cheers.


这篇关于登录到Web主机并添加一个Addon域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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