Initial commit
This commit is contained in:
6
client/src/api/index.js
Normal file
6
client/src/api/index.js
Normal file
@@ -0,0 +1,6 @@
|
||||
import axios from 'axios';
|
||||
|
||||
const url = 'http://localhost:8080/';
|
||||
|
||||
// export const getSomething = () => axios.get(url + 'path');
|
||||
// export const postSometing = (form) => axios.post(url + 'path', form);
|
||||
Reference in New Issue
Block a user