Advertisement
Guest User

Untitled

a guest
Aug 3rd, 2017
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. app.get('/some-url', (req, res) => {
  2. request('http://192.x.x.x?username=x&password=y&to=mobileno&text=xyz')
  3. .then(response => { // process response })
  4.  
  5. res.end();
  6.  
  7. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement