Forum Discussion
ASM JSON parsing and parameters learning
Hello
If JSON is parsing correctly by ASM then it should give me the suggestion for parameters inside JSON payload? for below example of JSON payload, ASM saying whole string is a parameter. If its working fine then would it give me parameters inside the payload not whole below as one parameter?
{
"run-stateless": "true",
"data": {
"variables": {
"exclude_discipline": ""
}
}
}
Due to above issue, I am getting illegal parameters, meta character in parameter name violation.
5 Replies
- BinaryCanary_19Historic F5 Account
It would be parsing the JSOn, but you may still get metacharacter violations because by default it is very restrictive.
I wouldn't expect that you get metacharacter violations for ":" , "}" or "{" or even '"' if you have configured the URL correctly and attached a JSON profile to it.
Did you add the URL as allowed, and configure the system to treat the body as JSON?
- hiperesfera_364
Nimbostratus
Hi,
I am having a similar issue. For any reason my ASM policy is not able to parse and learn the parameters within the POST request :
{ "id":"rodolfo", "foo":"bar" }
Did you manage to get this working ?
- IKS
Nimbostratus
Hi Everyone,
I have also that problem. I defined JSON as Content-Type, but it didn't learn parameter in POST data.
- SteveGold
Nimbostratus
Hi, What version of BIG-IP do you have? Because version 12 cannot parse JSON`s..
- IKS
Nimbostratus
Hi, Yes, it is.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com