Тема: Driver Login ApI
We are developing the new mobile app for the drivers. Which API we have to use to login as driver using mobile number.
Вы не вошли. Пожалуйста, войдите или зарегистрируйтесь.
We are developing the new mobile app for the drivers. Which API we have to use to login as driver using mobile number.
I am using the above request to driver login. but it's returning {error:1}
Hello. Try to escape params according to application/x-www-form-urlencoded format, like:
https://hst-api.wialon.com/wialon/ajax.html?svc=resource%2Fdriver_operate¶ms=%7B%22phonenumber%22%3A%22%2B919500502190%22%2C%22password%22%3A%22******%22%2C%22callmode%22%3A%22status%22%7D
Rual still no luck i am getting the same error. do we need to pass the sid for the api.
Sorry for previous wrong answer (was removed).
Your request is almost valid. Parameter names are case-sensitive, replace phonenumber with phoneNumber and callmode with callMode.
sid is required if callMode != status.
rual it's working perfectly. thumbs up mate.