How to response error to the front ?

Imaging you want to delete a record in a datatable ,you make a delete request to the server with the help of REST mode,but for some reason the record can't be deleted,then how to make the response from the server and what is 'error' for the front end.

Tagged:

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion