When I run this code
axios.post('TempPost.json', {
Name: name,
Phone: phone,
})
I get a 404 not found the file is located in my public folder named TempPost.json the JSON file contains {} any help would be amazing thanks
Expected the data to be added to the JSON file as if it was an API I currently do not have the API URL to post data to so I figured I could use a JSON file