Advertisement
Guest User

Untitled

a guest
Sep 20th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. <html>
  2. <body>
  3. <script>
  4.  
  5. var kerkesat =
  6. [
  7. {
  8. ip: '192.168.5.89',
  9. client_id: 'Samsung S5',
  10. route: '/klientPost',
  11. timeout: 120000,
  12. data: "2017-09-20T09:16:25.264Z",
  13. celesi: this.ip + "_" + this.client_id + "_" + this.route
  14. }
  15. {
  16. ip: '192.168.10.32',
  17. client_id: 'Iphone 5',
  18. route: '/klientService',
  19. timeout: 120000,
  20. data: "2017-08-15T17:32:41.121Z",
  21. celesi: this.ip + "_" + this.client_id + "_" + this.route
  22. }
  23. {
  24. ip: '192.168.8.69',
  25. client_id: 'Iphone 6',
  26. route: '/klientSupport',
  27. timeout: 120000,
  28. data: "2017-07-10T12:24:31.242Z",
  29. celesi: this.ip + "_" + this.client_id + "_" + this.route
  30. }
  31. ]
  32. var middleWare = function(ip,client_id,route){
  33. kerkesat.map(function(result){
  34. var celesi = ip + "_" + client_id + "_" + route;
  35. if(celesi == result.celesi){
  36.  
  37. }
  38. })
  39.  
  40. }
  41. </script>
  42. </body>
  43. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement