CA API Management: Sanitize JSON Body of special characters
Article ID: 76535
CA Rapid App Security
CA API Gateway
Sometimes it may be necessary to remove special characters from JSON values.
"value": "This is a test message ' with special characters $30"
Attached is a sample policy that can be imported to demonstrate removal of these characters using RegEx.
1) Open Policy Manager
2) Use an existing service or create a new service
3) Click the Import Policy button and browse to the sample policy\