Updating Data in Firebase using React and Axios
问题 I'm trying to update some data in a firebase database. However i am unable to get the updateAPI function to work properly. I believe it's something to do with axios.put, the url is probably not traversing the data correctly? I have tried changing the url but end up with a OPTIONS and CORS errors which means the url is incorrect. // API Function calls async getAPI(){ const response = await axios.get('https://fir-test-euifhefibewif.firebaseio.com/todos.json') console.log(response) console.log