pushNotify
$0.01/invocation
Send a push notification via the Web Push API. Visit https://pushnotify-fn.foxtdev.workers.dev for more information.
pushNotify(
)
=
loading...
API


python

Ruby
>_

Google Sheets
Chat
Email
To use this function in your Ruby application:
1. Install it:
gem install func_live
2. Copy over this snippet:
FuncLive.token = 'FUNC_TOKEN'
FuncLive.("pushNotify", {
"subscription": {
"endpoint": "string",
"p256dh": "string",
"auth": "string"
},
"body": {
"notification": {
"title": "Hello World",
"body": "This is a test notification."
}
},
"topic": "string",
"urgency": "string"
})
3. Make sure to replace FUNC_TOKEN with an actual token from tokens.wakeflow.io
For more information: https://rubygems.org/gems/func_live