I have a UI being developed in HTML5 and angular JS , which makes a webservice call to REST endpoint developed in Java ,
As our REST endpoint is accepting a file so we have throttled the file request so as accept only given amount of file request from the client .
Now if the threshold is reached my question is it a good design to throw error back to client say "memory threshold reached" back to client or Do i send some generic error back to client as the consumer of this end point is other consumers as well from different clients
Aucun commentaire:
Enregistrer un commentaire