Why does the axios.post return POST 404 (Not Found) error even when axios.get does return a valid value?
问题 I'm trying to implement a Vue method called "newKweet" which involves axios , whose purpose is to post a new JSON object to the existing JSON file. When this method is called, it returns the error POST http://localhost:8080/feed.json 404 (Not Found) , which implies that I'm trying to reach a destination that doesn't exist. But I find it weird, because when I call axios.get for the same address it works perfectly fine and it retrieves the JSON data stored in the file feed.json . Can anybody