summaryrefslogtreecommitdiffstats
path: root/server/api/locations.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/api/locations.js')
-rw-r--r--server/api/locations.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/server/api/locations.js b/server/api/locations.js
new file mode 100644
index 0000000..c72ff93
--- /dev/null
+++ b/server/api/locations.js
@@ -0,0 +1,13 @@
+/* global __appdir */
+//var path = require('path');
+
+module.exports = {
+ get: function(req, res) {
+ console.log('You successfully called an authentication call!');
+ res.send('You successfully called an authentication call!');
+ },
+ post: function(req, res) {
+ console.log('You successfully called an unauthentication call!');
+ res.send('You successfully called an unauthentication call!');
+ }
+}