CORS preflight
/mcp-bot/health
const url = 'https://example.com/api/mcp-bot/health';const options = {method: 'OPTIONS'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request OPTIONS \ --url https://example.com/api/mcp-bot/healthResponses
Section titled “ Responses ”CORS preflight OK