Jump to content
View in the app

A better way to browse. Learn more.

Pulseway

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Posted

Hello,

It is maybe a silly question but I can't figure it out.
I want to publish an online webconsole in my dashboard.

But I don't know how to publish a system. where do i put the code? pulseway manager? pulseway webapp? I have no idea..

could somebody tell me how this works this is the code:

curl https://my.pulseway.com/api/v2/notifications \

    -u username:password \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"instance_id":"my_cloud_agent","title":"Runtime error","message":"Cannot connect to the database.","priority":"critical"}'

Featured Replies

  • Administrators

Hey Mitch,

Curl is an application that can make HTTP requests. You can download it from here: https://curl.haxx.se/windows. The Publish method of the REST API allows you to register applications as Pulseway instances based on the JSON content you're sending. So if you'd like your web console statistics and status information to be pushed to Pulseway then you'd have to talk to the developers of that application and ask them to make these requests every now and then adding in the required information.

For instance you could write a script that runs backup jobs every day and you can use this API to let Pulseway know what's the status of the backup job and send notifications when the backup fails.

-Paul

  • Author

Hi Paul,

I already used CURL to get the information I needed out of the webconsole. that worked but if I want to push the information into Pulseway I need to publish a Pulseway instance.
One of your colleagues told me to do this with the curl code in the first post. Thats where I'm confused right now.

But if I want to publish something where do I have to put the code. in the curl application from https://www.curl.haxx.se/windows ?

-Mitch

Edited by mitch
i have it running now, but if i want to use my credentials it gives the output that my username and/or password is wrong but these are the good ones...

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.