Request Rejected - while tryng to login
-
https://apiconnect.angelone.in/rest/auth/angelbroking/user/v1/loginByPIN
body: { clientcode: '', totp: '', mpin: '' },
headers: {
'Content-Type': 'application/json',
'X-PrivateKey': '4r**H1',
'X-ClientLocalIP': '10.10.10.10',
'X-ClientPublicIP': '167.10.20.77',
'X-MACAddress': '00-1A-2B-3C-4D-5E',
'X-UserType': 'USER',
'X-SourceID': 'WEB',
Accept: 'application/json'
},
insecure: true
} -
@suryavenkat try to login via postman, login is working fine. The body of the request you sent looks problematic, we have 3 parameters - clientcode, password (not mpin) and TOTP. Please refer to the API doc of login for the same.