Use Axios as normal, CORS support is enabled.


<html>
<head>
<script src="https://cdn.goodforms.com/verify.js"></script>
<title>Simple Axios/CORS Test?</title>
</head>
<body>
<p>
    Axios test
</p>
<div id="react-basic"></div>


<input type='text' name='email' id='email' onchange="handle_change(this.value)" /><input type='submit' />


<script>
</script>
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<script>
function handle_change(param) {
    console.warn("Handling change!");
    console.dir(param);

    axios.post("https://api.goodforms.com/verify", {
        form_key: 'your_form_token',
        email: param
    }).then(function (result) {
        console.warn("Got result from Axios!!!")
        console.dir(result)
        console.warn("And here's the data part:")
        console.dir(result.data)
    })
}
</script>
</body>
</html>