User login api

curl --location --request POST 'https://api.rampwin.com/api/auth/login' \
--header 'Content-Type: application/json' \
--data-raw '{
    "email":"[email protected]",
    "password":"xxxxxxxxxx"
}'
var request = require('request');
var options = {
  'method': 'POST',
  'url': 'https://api.rumwork.io/api/auth/login',
  'headers': {
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    "email":"<[email protected]>",
    "password":"xxxxxxxxxx"
  })
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});
Post DataRequiredExample Value
emailY[email protected]
Note: email field is required
passwordY