Group
Extension

Matches 4

SMS-Send-Adapter-Node-Red ( M/MR/MRDVT/SMS-Send-Adapter-Node-Red-0.10.tar.gz, MRDVT, 2024; MetaCPAN )
SMS-Send-Adapter-Node-Red/scripts/perl-SMS-Send-Adapter-Node-Red.cgi.pod ( view source; MetaCPAN )
apter to Node-RED JSON HTTP request CGI Script

=head1 DESCRIPTION

A CGI application to control SMS::Send with a web service.

=head1 API

The script is called over HTTP with a JSON Object payload.

nnel::SMSbox|SMS::Send::Kannel::SMSbox> and L<NANP::Twilio|SMS::Send::NANP::Twilio>.

Return is a JSON Object.

  200 OK

  {
   "sent"  : true,
   "input" : {...},
  }

Return on error.

  400|500|50
p request, and debug.

=over

=item * In the function node

=over

=item * Set the "payload" to a JSON Object with the keys "driver", "to" and "text" and any extra "options" needed for SMS::Send objec
SMS-Send-Adapter-Node-Red ( M/MR/MRDVT/SMS-Send-Adapter-Node-Red-0.10.tar.gz, MRDVT, 2024; MetaCPAN )
SMS-Send-Adapter-Node-Red/lib/SMS/Send/Adapter/Node/Red.pm ( view source; MetaCPAN )
se JSON::XS qw{decode_json encode_json};
use SMS::Send;
use CGI;

our $VERSION = '0.10';
our $PACKAGE = __PACKAGE__;

=head1 NAME

SMS::Send::Adapter::Node::Red - SMS::Send Adapter to Node-RED JSON HT
head1 DESCRIPTION

This Perl package provides an adapter from Node-RED HTTP request object with a JSON payload to the SMS::Send infrastructure using either a PSGI or a CGI script.  The architecture wo
w

  my $object = SMS::Send::Adapter::Node::Red->new(content=>$string_of_json_object);

=head1 PROPERTIES

=head2 content

JSON string payload of the HTTP post request.

Example Payload:

  {
    "to"
SMS-Send-Adapter-Node-Red ( M/MR/MRDVT/SMS-Send-Adapter-Node-Red-0.10.tar.gz, MRDVT, 2024; MetaCPAN )
SMS-Send-Adapter-Node-Red/scripts/perl-SMS-Send-Adapter-Node-Red-plack-builder.psgi.pod ( view source; MetaCPAN )
 Node-RED JSON HTTP request Plack Builder PSGI Script

=head1 DESCRIPTION

A PSGI application to control SMS::Send with a web service.

=head1 API

The script is called over HTTP with a JSON Object pa
nnel::SMSbox|SMS::Send::Kannel::SMSbox> and L<NANP::Twilio|SMS::Send::NANP::Twilio>.

Return is a JSON Object.

  200 OK

  {
   "sent"  : true,
   "input" : {...},
  }

Return on error.

  400|500|50
p request, and debug.

=over

=item * In the function node

=over

=item * Set the "payload" to a JSON Object with the keys "driver", "to" and "text" and any extra "options" needed for SMS::Send objec
SMS-Send-Adapter-Node-Red ( M/MR/MRDVT/SMS-Send-Adapter-Node-Red-0.10.tar.gz, MRDVT, 2024; MetaCPAN )
SMS-Send-Adapter-Node-Red/scripts/perl-SMS-Send-Adapter-Node-Red.psgi.pod ( view source; MetaCPAN )
pter to Node-RED JSON HTTP request PSGI Script

=head1 DESCRIPTION

A PSGI application to control SMS::Send with a web service.

=head1 API

The script is called over HTTP with a JSON Object payload.
nnel::SMSbox|SMS::Send::Kannel::SMSbox> and L<NANP::Twilio|SMS::Send::NANP::Twilio>.

Return is a JSON Object.

  200 OK

  {
   "sent"  : true,
   "input" : {...},
  }

Return on error.

  400|500|50
p request, and debug.

=over

=item * In the function node

=over

=item * Set the "payload" to a JSON Object with the keys "driver", "to" and "text" and any extra "options" needed for SMS::Send objec

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.