NAME
rg-psgi - Webapp for sending text messages via gnokii-smsd
SYNOPSIS
plackup -E deployment -p 8085 /path/to/rg-psgi
DESCRIPTION
This is a PSGI application that allows users to send text messages via HTTP.
To send a message, make a POST request with the following parameters:
- numbers
-
A comma-separated list of destination numbers
- password
-
The password set in the configuration file
- text
-
The message text.
ENVIRONMENT
- RGCONF
-
The basename of the configuration file. For example, if the configuration file is '/srv/rg/config.yml', RGCONF should be set to '/srv/rg/config'. Defaults to '/etc/rg'.
SEE ALSO
AUTHOR
Marius Gavrilescu <marius@ieval.ro>
COPYRIGHT AND LICENSE
Copyright (C) 2014 by Marius Gavrilescu
This library is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.