Update app.js
Browse files
app.js
CHANGED
@@ -13,7 +13,7 @@ app.use(express.json());
|
|
13 |
|
14 |
app.get('/', (req, res) => {
|
15 |
res.setHeader('Content-Type', 'text/plain');
|
16 |
-
res.end('This is Yahoo finance api
|
17 |
res.end('Quote : /api/quote/:<symbol>')
|
18 |
res.end('Chart : /api/chart/:<symbol>?interval=<interval>&range=<range>')
|
19 |
res.end('Summary : /api/summary/:<symbol>')
|
|
|
13 |
|
14 |
app.get('/', (req, res) => {
|
15 |
res.setHeader('Content-Type', 'text/plain');
|
16 |
+
res.end('This is Yahoo finance api \n Search : /api/search/:<symbol/name>');
|
17 |
res.end('Quote : /api/quote/:<symbol>')
|
18 |
res.end('Chart : /api/chart/:<symbol>?interval=<interval>&range=<range>')
|
19 |
res.end('Summary : /api/summary/:<symbol>')
|