1.1.2 • Published 5 years ago

paperboy-push-service v1.1.2

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
5 years ago

Paperboy Push Service

Paperboy Push Service is a simple webservice that will convert an incoming HTTP request into a message in paperboy's queue thus abstracting the complexity of multiplexing a notification to the clients.

Usage

You push a message like

{"foo":"bar","source":"test"}

into the queue with the following cURL command:

curl -X POST \
  http://localhost:8081/ \
  -H 'Authorization: Bearer test' \
  -H 'Cache-Control: no-cache' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -d 'source=test&payload=%7B%22foo%22%3A%22bar%22%7D'

The parameters source and payload are optional. The default message will look like this:

{"source":"push-notifier"}
1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago

0.11.0

5 years ago

0.10.8

6 years ago

0.10.7

6 years ago

0.10.6

6 years ago