mirror of
https://github.com/HackPlan/node-iap.git
synced 2026-06-15 01:19:18 +08:00
initial implementation of google play platform
This commit is contained in:
10
lib/https/get.js
Normal file
10
lib/https/get.js
Normal file
@@ -0,0 +1,10 @@
|
||||
var https = require('./index');
|
||||
|
||||
|
||||
module.exports = function (url, options, cb) {
|
||||
options = options || {};
|
||||
|
||||
// Set method to GET and call it
|
||||
options.method = 'GET';
|
||||
https.request(url, options, null, cb);
|
||||
};
|
||||
Reference in New Issue
Block a user