Open danishvm opened 10 years ago
When we type Email ID With only numbers(23123@21212) in Add User API, it get accepted
JSON
{"email":”23123@21212", "password":"ewewe", "phone":"1243434345", "firstName":"albert", "lastName":"xavier"}
Result Response
User Added with "email": "23123@21212", "password": "ewewe", "phone": "1243434345", "firstName":"albert", "lastName":"xavier"
Expected Result
{ "type": "error", "text": "510", "data": "Field error in object 'customerDetails' on field 'email' }
When we type Email ID With only numbers(23123@21212) in Add User API, it get accepted
JSON
{"email":”23123@21212", "password":"ewewe", "phone":"1243434345", "firstName":"albert", "lastName":"xavier"}
Result Response
User Added with "email": "23123@21212", "password": "ewewe", "phone": "1243434345", "firstName":"albert", "lastName":"xavier"
Expected Result
{ "type": "error", "text": "510", "data": "Field error in object 'customerDetails' on field 'email' }