We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7bac98 commit 0d5faf5Copy full SHA for 0d5faf5
axios.js
@@ -1,6 +1,6 @@
1
const axios = require('axios');
2
3
-axios.get('https://localhost:3000')
+axios.get('http://localhost:3000', { headers: { 'Accept': 'text/html, text/plain, application/json' } })
4
.then((response) => {
5
console.log(response)
6
})
0 commit comments