-1

我正在使用Resellerclub API创建客户并注册 DOMAIN。它在测试环境中工作正常:

https://test.httpapi.com/

但是在 LIVE 中使用时同样的事情失败了:

https://httpapi.com/

以下是我用于创建客户以预订域的请求:

测试(效果很好):

https://test.httpapi.com/api/customers/signup.xml?auth-userid=xxxxx&auth-password=xxxxxx&username=prasadvemala@xxxx.com&passwd=xxxxxx&name=Prasad Vemala&company=Prasad Vemala&address-line-1=my address1&city=Fort Collins&state=CO&country=US&zipcode=80526&phone-cc=1&phone=1234567890&lang-pref=en

但在现场(失败):

 https://httpapi.com/api/customers/signup.xml?auth-userid=xxxxx&auth-password=xxxxxx&username=prasadvemala@xxxx.com&passwd=xxxxxx&name=Prasad Vemala&company=Prasad Vemala&address-line-1=my address1&city=Fort Collins&state=CO&country=US&zipcode=80526&phone-cc=1&phone=1234567890&lang-pref=en

以下是我在 LIVE 环境中遇到的错误:

远程服务器返回错误:(500) 内部服务器错误。

有人有这个问题吗?

4

2 回答 2

0

The test api environment allows GET calls while for some functions you have to use POST when using the live API.

Adding a customer requieres always the POST Method.

http://manage.resellerclub.com/kb/answer/804

Regards, Marco

于 2012-06-15T08:07:30.777 回答
0

即使是实时通话也包含相同的 URL,包括“测试”,它会起作用

于 2013-03-21T17:48:44.953 回答