Upload 2.17
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import axios from "axios";
|
||||
const baseUrl = "http://localhost:3001/persons";
|
||||
|
||||
const getAll = () => {
|
||||
const request = axios.get(baseUrl);
|
||||
return request.then((response) => response.data);
|
||||
|
||||
Reference in New Issue
Block a user