Bump version and update Changes
[app-remotegnokii.git] / rg-psgi
CommitLineData
832c594d
MG
1#!/usr/bin/perl
2use v5.14;
3use warnings;
4
5use App::RemoteGnokii;
6
7App::RemoteGnokii::psgi;
8__END__
9
10=encoding utf-8
11
12=head1 NAME
13
14rg-psgi - Webapp for sending text messages via gnokii-smsd
15
16=head1 SYNOPSIS
17
18 plackup -E deployment -p 8085 /path/to/rg-psgi
19
20=head1 DESCRIPTION
21
22This is a PSGI application that allows users to send text messages via HTTP.
23
24To send a message, make a POST request with the following parameters:
25
26=over
27
28=item numbers
29
30A comma-separated list of destination numbers
31
32=item password
33
34The password set in the configuration file
35
36=item text
37
38The message text.
39
40=back
41
42=head1 ENVIRONMENT
43
44=over
45
46=item RGCONF
47
48The 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'.
49
50=back
51
52=head1 SEE ALSO
53
54L<App::RemoteGnokii>
55
56=head1 AUTHOR
57
58Marius Gavrilescu E<lt>marius@ieval.roE<gt>
59
60=head1 COPYRIGHT AND LICENSE
61
62Copyright (C) 2014 by Marius Gavrilescu
63
64This library is free software: you can redistribute it and/or modify
65it under the terms of the GNU General Public License as published by
66the Free Software Foundation, either version 3 of the License, or (at
67your option) any later version.
68
69
70
71=cut
This page took 0.013046 seconds and 4 git commands to generate.