Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var request = require("request");
- var options = { method: 'POST',
- url: 'http://88b392f7.ngrok.io',
- body: { key: 'http://flask.pocoo.org/docs/0.12/quickstart/' },
- json: true };
- request(options, function (error, response, body) {
- if (error) throw new Error(error);
- console.log(body);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement