Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <body>
- <script>
- var kerkesat =
- [
- {
- ip: '192.168.5.89',
- client_id: 'Samsung S5',
- route: '/klientPost',
- timeout: 120000,
- data: "2017-09-20T09:16:25.264Z",
- celesi: this.ip + "_" + this.client_id + "_" + this.route
- }
- {
- ip: '192.168.10.32',
- client_id: 'Iphone 5',
- route: '/klientService',
- timeout: 120000,
- data: "2017-08-15T17:32:41.121Z",
- celesi: this.ip + "_" + this.client_id + "_" + this.route
- }
- {
- ip: '192.168.8.69',
- client_id: 'Iphone 6',
- route: '/klientSupport',
- timeout: 120000,
- data: "2017-07-10T12:24:31.242Z",
- celesi: this.ip + "_" + this.client_id + "_" + this.route
- }
- ]
- var middleWare = function(ip,client_id,route){
- kerkesat.map(function(result){
- var celesi = ip + "_" + client_id + "_" + route;
- if(celesi == result.celesi){
- }
- })
- }
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement