How to use Online Database with Axios

if (!err.email && !err.password) {
    axios.post('http://localhost:8082/login', values) //
    .then((res) => {
        if (res.data === 'Invalid Email or Password') {
            alert('No Record Found');
        } else if (res.data.status === 'Login Success') {
            localStorage.setItem('userName', res.data.name);
            navigate('/GUI/dashboard');
        } else {
            alert('Some error: ' + res.data);
        }
    })
    .catch((err) => console.error(err));
}

In code snippet, I have used Axios. There currently I have used localhost and I want to make this online. So I want to use an online database instead of localhost MySQL databse with XAMPP server. There,

With what should I replace “http://localhost:8082/login” if I want to use CleverCloud MySQL database instead of localhost MySQL version?