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 Data | Required | Example Value |
---|---|---|
Y | [email protected] Note: email field is required | |
password | Y |