title: Web application firewall (WAF) rules validation by javascript
body: <p>WAF Rules applied to web application which is already developed. To overcome WAF blocking inputs , need to convert format of input or encode input before form submitting  got failed. If any possibility to validate WAF rules using javascript , pls guide me to how it is possible.</p>
  
  <p>if any JS library or api available pls mention.</p>