Advertisement
Guest User

Untitled

a guest
Oct 27th, 2016
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. request({
  2. url: 'https://localhost:8080/post',
  3. method: "POST",
  4. "rejectUnauthorized": false, //sending it through localhost so not worried about ssl
  5. json: JSON.stringify(tradeoffer)
  6. });
  7.  
  8. request({
  9. url: 'https://localhost:8080/post',
  10. method: "POST",
  11. "rejectUnauthorized": false, //sending it through localhost so not worried about ssl
  12. json: tradeoffer
  13. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement