From 6df5b35600e6aae6e676e2ba29eeaaf88bf9ff9b Mon Sep 17 00:00:00 2001 From: xengineering Date: Fri, 11 Jun 2021 11:40:46 +0200 Subject: Implement AJAX Call --- data/js/birdscan.js | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 data/js/birdscan.js (limited to 'data/js') 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(); +} + -- cgit v1.2.3-70-g09d2