You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's usually a good idea to return the newly created resource from a POST request. That way a client app can show the user exactly what new thing was created. Returning the ID is good, but it means the app has to make another network request to get the rest of the properties, which is slow/inefficient.
The text was updated successfully, but these errors were encountered:
week7-CRaKT/model/examples.js
Lines 23 to 28 in e9ebc55
It's usually a good idea to return the newly created resource from a POST request. That way a client app can show the user exactly what new thing was created. Returning the ID is good, but it means the app has to make another network request to get the rest of the properties, which is slow/inefficient.
The text was updated successfully, but these errors were encountered: