Skip to content

amandakys/pushbullet_notifications

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pushbullet_notifications

a RESTful API to send push notifications via the Pushbullet API

Built With

Getting Started

Clone the repository

git clone https://github.com/amandakys/pushbullet_notifications.git

Run the Maven Build

inside /pushbullet_notifications folder

./mvnw spring-boot:run

To Register a User

use cURL terminal command. replace "user1" with desired username string and "pushbullet_access_token" with relevant access token from pushbullet.

curl -d '{"username":"user1", "accessToken":"pushbullet_access_token"}' -X POST http://localhost:8080/create -H "content-type: application/json"

To Retrieve List of All Registered Users

http://localhost:8080/users

To Retrive Specific User

replace user1 with desired username

http://localhost:8080/users/user1

To Send Notification

use cURL terminal command.

curl -d '{"username":"user1"}' -X POST http://localhost:8080/push -H "content-type: application/json"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published