Retrieve and apply active NWS alerts now
POST
/api/v1/alerts/nws/poll
const url = 'https://example.com/api/v1/alerts/nws/poll';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/alerts/nws/pollResponses
Section titled “ Responses ”Poll completed
NWS retrieval failed