Closed travisoverby closed 4 years ago
This will later be imported in other files to make API calls as follows:
import axios from '../path/to/axios-covidhax-client.js'; ... axios.post('/path/to/API/endpoint', endpointData).then(...)
import axios from '../path/to/axios-covidhax-client.js';
...
axios.post('/path/to/API/endpoint', endpointData).then(...)
This will later be imported in other files to make API calls as follows:
import axios from '../path/to/axios-covidhax-client.js';
...
axios.post('/path/to/API/endpoint', endpointData).then(...)