UNPKG
node-smsc
Version:
latest (0.2.3)
0.2.3
0.2.2
0.2.1
0.2.0
0.1.1
0.1.0
Convenient wrapper of http/https smsc api.
github.com/rmdm/node-smsc
rmdm/node-smsc
node-smsc
/
lib
/
api
/
send.js
17 lines
(9 loc)
•
255 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
module
.exports =
function
(apiCall)
{
return
function
(query, options, cb)
{ options = options || {} query = query || {} query.fmt =
3
options.
path
=
'send.php'
return
apiCall(query, options, cb) } }