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:
commit
f1406d4eec
431 changed files with 118157 additions and 0 deletions
23
tools/httpHookTest.js
Normal file
23
tools/httpHookTest.js
Normal 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);
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue