fetch icon indicating copy to clipboard operation
fetch copied to clipboard

_autoresponse without _captcha AJAX

Open frcelipe7 opened this issue 2 years ago • 0 comments

How can I use _autoresponse without _captcha with AJAX?

` fetch("https://formsubmit.co/ajax/[email protected]", {

    method: "POST",
    headers: { 
        'Content-Type': 'application/json',
        'Accept': 'application/json'
    },

    body: JSON.stringify({
        name: inputText.value,
        email: inputEmail.value,
        subject: inputSubject.value,
        message: inputMessage.value,
        _autoresponse: "Testing autoresponse",
    })
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.log(error))

`

frcelipe7 avatar May 14 '22 16:05 frcelipe7