summaryrefslogtreecommitdiff
path: root/data/js
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2021-06-11 11:40:46 +0200
committerxengineering <mail2xengineering@protonmail.com>2021-06-11 11:40:46 +0200
commit6df5b35600e6aae6e676e2ba29eeaaf88bf9ff9b (patch)
tree1c415dca51dcb61a06551188232982b29c38c77d /data/js
parentd4e1f48ff12db48e9a9bdbd3253c1041328ca66d (diff)
downloadbirdscan-6df5b35600e6aae6e676e2ba29eeaaf88bf9ff9b.tar
birdscan-6df5b35600e6aae6e676e2ba29eeaaf88bf9ff9b.tar.zst
birdscan-6df5b35600e6aae6e676e2ba29eeaaf88bf9ff9b.zip
Implement AJAX Call
Diffstat (limited to 'data/js')
-rw-r--r--data/js/birdscan.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/data/js/birdscan.js b/data/js/birdscan.js
new file mode 100644
index 0000000..d1bba04
--- /dev/null
+++ b/data/js/birdscan.js
@@ -0,0 +1,7 @@
+
+function singlePicture() {
+ const xhttp = new XMLHttpRequest();
+ xhttp.open("POST", "./api/single_picture");
+ xhttp.send();
+}
+