const updateprofile = () =>{
let input = {
"key":"",
"company":"",
"email":"",
"mobile":"",
"city":"",
"address":"",
"contactperson":"",
"phone":"",
"website":"",
"profile":"",
"businesstype":"",
"password":""
};
const requestOptions = {
method : 'POST',
header : {'Content-Type' : 'application/json' },
body : JSON.stringify(input)
};
fetch("https://www.campusinterview.in/webapi/billing/updateprofile", requestOptions)
.then(response => response.text())
.then(data =>{
alert(data);
})
}