Send form data as JSON