Friday 24 August 2018

Validating Responses Sent From Server on Client Side?

I use express validator to validate data sent from the user. I was wondering does any sort of validation libraries exist for validating the response sent from servers on the client side?So for example if the JSON response contains specific error codes certain things happen on the frontend (in my case React). And to also validate the response is in the correct format and is nothing malicious.

Submitted August 24, 2018 at 02:53PM by VeryOldFilms

No comments:

Post a Comment