const response = await fetch('/api/account/change-password', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
"emailAddress": "[email protected]",
"newPassword": "password",
"oldPassword": "password"
}),
});
const data = await response.json();