I am using an external api, which works very good in postman but not working when i call from angularjs.
Here is how i call from my angular js
$http.post('http://api.quickblox.com/users.json', {
token: '2ba123a8c43664886c66702fb81b779b094cc7b8',
'user[email]': email,
'user[login]': email,
'user[login]': email,
'user[password]': password
}).then(function (results) {
console.log('mid');
});
Here is preview of the image
It works good.
But it is not working when i do from angularjs call
Here is screenshot the response when i do angularjs call