1
0
Fork 0
mirror of https://gitlab.com/Shinobi-Systems/ShinobiCE.git synced 2025-03-09 15:40:15 +00:00

Shinobi CE officially lands on Gitlab

This commit is contained in:
Moe 2018-06-07 23:21:38 -07:00
commit f1406d4eec
431 changed files with 118157 additions and 0 deletions

23
tools/httpHookTest.js Normal file
View file

@ -0,0 +1,23 @@
var express = require("express");
var app = express();
/* serves main page */
app.get("/", function(req, res) {
console.log('Home Test Success')
res.end("Home Test Success");
});
app.get("/test", function(req, res) {
console.log('Hook Test Success')
res.end("Hook Test Success");
});
app.post("/post", function(req, res) {
console.log('Post Test Success')
res.end("Post Test Success");
});
var port = process.env.PORT || 5000;
app.listen(port, function() {
console.log("Listening on " + port);
});