0๐
422 (Unprocessable Entity) means you make a validation on the data request
and failed or you try insert data directly to database but error occurred cause of data is null and your column not allow null or something else..
so insure your data is correct
If you click the last link in console like in the image ,you will see in network data the response of your request
0๐
Please go through the following steps :
1)Just update your API endpoint as โhttp://localhost:3000/api/Cats/โ.
2)refresh your html file.
- [Vuejs]-How to initialize a data property to a prop object property in Vue JS
- [Vuejs]-How to display google map using vuejs
Source:stackexchange.com