Skip to main content

request_body

Function request_body 

Source
pub fn request_body(
    email: &str,
    phone: &str,
    turnstile_token: &str,
    website: &str,
) -> Result<Value, FieldErrors>
Expand description

The JSON the worker reads, { email, phone, turnstile_token, source, website }, or what is wrong with the fields. The honeypot (website) rides untouched: the worker decides what a filled one means.