Check if user is valid
If you would like to check if user is valid
POST /accounts/webapi_login/ as json
{'username': 'XXXX', 'password':'YYYY'}
The response is:
{'status': status, 'error': 'XYZ' }
where status can be ‘ok’ if user is valid, ‘ko’ is user is not valid