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