fetch('https://example.com/verify', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ midv370: "input_value_here" }) }) .then(response => response.json()) .then(data => console.log(data.verified)) .catch(error => console.error('Error:', error));