Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- app.get('/some-url', (req, res) => {
- request('http://192.x.x.x?username=x&password=y&to=mobileno&text=xyz')
- .then(response => { // process response })
- res.end();
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement