24.3.2021

Smartphone Notifications via Rest API

https://pushover.net/

await fetch(`https://api.pushover.net/1/messages.json?token=xxx&user=xxx&title="SCHNAPPER ALERT!"&message="${ availableItemTitle }"`, {
        method: 'POST',
    }).then(
        () => {
            myLog('sent notification successfully')
        }, error => {
            myLog('unable to send notification due to' + error)

        }
    )
Simon

Softwareentwickler

Zur Übersicht

Standort Hannover

newcubator GmbH
Bödekerstraße 22
30161 Hannover

Standort Dortmund

newcubator GmbH
Westenhellweg 85-89
44137 Dortmund