In 7.x-3.7 .Using POSTER add-on to post this data to service.
I try to use following command to create an user:
'Content-type: application/json'
'{"name":"u10", "pass": "123","mail": "[email protected]"}'
URL : ".../api/user/register"
return success:
{"uid":"11","uri":"../api/user/11"} But I try to login:
'Content-type: application/json'
'{"username":"u10", "password": "123","mail": "[email protected]"}'
URL : "../api/user/login" It alert me :
["Wrong username or password."]
Please help me.