- Topics: Active | Unanswered
Pages: 1
#1 2016-09-19 11:02:36
- Aiju Thomas
Login API call not working
I just tried to access the login api call for a hosted account. Is there any restriction for hosted accounts?
API call i have used is
https://ezmple.com/api/xml?action=login&login=abc@xyz.com&password=ddqSsRlIp&account-id=23423423
Do we have any enhanced features restricting this? Or do we have seperate API calls?
Offline
#2 2016-09-19 15:26:35
- Jorma_at_CoSo
Re: Login API call not working
You shouldn't need the account-id call. Other than that, I don't see anything that throws a red flag. This wouldn't be one of the restrictions for a hosted account's API.
Try:
Log in with cookie management (recommended)
1. Call the login action, passing it the user’s login ID and password, but no session parameter:
http://example.com/api/xml?action=login&login=bobs@acme.com&password=football
Offline
#3 2016-10-31 00:18:20
- Aiju Thomas
Re: Login API call not working
Thanks Jorma_at_RealEyes.
It worked for me while adding domain parameter in the request.
Offline
Pages: 1