logging
This commit is contained in:
parent
df94b37a37
commit
5672048c61
15
server.js
15
server.js
@ -2,6 +2,21 @@ const express = require('express');
|
||||
const app = express();
|
||||
const port = 3434;
|
||||
|
||||
|
||||
app.get('/v2/broadway/cards', (req, res) => {
|
||||
|
||||
console.log('-+-+-+-+-+-+-+-');
|
||||
console.log('originalUrl', req.originalUrl);
|
||||
console.log('Headers', req.headers);
|
||||
console.log('query', req.query);
|
||||
console.log('\n\n\n');
|
||||
|
||||
res.send("<BEGIN_OBJECT></BEGIN_OBJECT>")
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
app.get('*', (req, res) => {
|
||||
|
||||
console.log('-+-+-+-+-+-+-+-');
|
||||
|
Loading…
Reference in New Issue
Block a user