Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

How to to ensure that model was deleted on server

$
0
0
If you one use destroy method on model instance it seems there is not way to say that something went wrong on server except sending status code other than 200, do I understand this correctly?

What do you send status code other then 200 in server response if deletion of model failed?

Viewing all articles
Browse latest Browse all 3491

Trending Articles