I am using Hasoffers official API call builder
https://developers.tune.com/network/authentication-finduserbycredentials/
This is the call it is giving me (my credentials have been x-ed out)
This is what I am getting back when calling :
{
"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"
}
}
(I have tested same credentials on tracking board.com that calls affiliate API for same network and it works)