Skip to content
This repository was archived by the owner on Oct 23, 2023. It is now read-only.

Commit 802e424

Browse files
ThomasThomas
authored andcommitted
missed files
1 parent e8155c7 commit 802e424

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
const axios = require('axios')
2+
const { response } = require('express')
3+
const fetch = require('node-fetch')
4+
5+
function getDates() {
6+
axios.get('http://localhost:3000/dates/?date=currently')
7+
.then(response => response.data)
8+
.then(data => console.log(data))
9+
.catch(err => console.log(err))
10+
}
11+
12+
getDates()
13+
module.exports = {getDates}

0 commit comments

Comments
 (0)