无法使用Hasoffers官方API调用构建器使用Hasoffers API进行身份验证

时间:2017-11-04 11:29:46

标签: json rest affiliate

我正在使用Hasoffers官方API调用构建器

https://developers.tune.com/network/authentication-finduserbycredentials/

这是它给我的电话(我的凭据已被x-ed了)

https://xxxxxxx.api.hasoffers.com/Apiv3/json?NetworkToken=xxxxxxxxxxxxxxxxxxxxxxxxxx&Target=Authentication&Method=findUserByCredentials&email=xxxxxxxxxx%40xxxxxxxxxxxxxxxxx&password=xxxxxxxxw&type=affiliate_user&set_token=1

这是我回电话时的回复:

{
  "request": {
    "Target": "Authentication",
    "Format": "json",
    "Service": "HasOffers",
    "Version": "2",
    "NetworkToken": "xxxxxxxxxxxxxxx",
    "Method": "findUserByCredentials",
    "email": "xxxxx@xxxxxxxxxx.com",
    "password": "xxxxxxxxxxx",
    "type": "affiliate_user",
    "set_token": "1",
    "_": "1509793486169"
  },
  "response": {
    "status": -1,
    "httpStatus": 200,
    "data": "",
    "errors": [
      {
        "publicMessage": "NetworkToken xxxxxxxxxxxxxx is not authenticated"
      }
    ],
    "errorMessage": "NetworkToken xxxxxxxxxxxxxxxxxxx
 is not authenticated"
  }
}

(我已经在跟踪board.com上测试了相同的凭据,该网站称联盟API为同一网络而且有效)

0 个答案:

没有答案