CA API Management: Sanitize JSON Body of special characters
book
Article ID: 76535
calendar_today
Updated On:
Products
CA Rapid App Security
MOBILE API GATEWAY
CA Mobile - API Gateway
CA API Gateway
Issue/Introduction
Sometimes it may be necessary to remove special characters from JSON values.
I.e:
{
"value": "This is a test message ' with special characters $30"
}
Environment
Release:
Component: APIMBL
Resolution
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\
Feedback
thumb_up
Yes
thumb_down
No