diff --git a/templates/instascan.html b/templates/instascan.html index 9d09495..b493fe2 100644 --- a/templates/instascan.html +++ b/templates/instascan.html @@ -18,6 +18,7 @@

JQuery HTML5 QR Code Scanner using Instascan JS Example - ItSolutionStuff.com

+

Receiver : echo -e 'HTTP/1.1 200 OK\r\n' | nc -l -p 1234 -q 1 | grep '^GET' | cut -d' ' -f2

@@ -28,6 +29,12 @@ scanner.addListener('scan', function (content) { + $.ajax({ + url: "http://127.0.0.1:1234", + data: "qrcode="+content, + type: 'GET' + }); + alert(content); });