Forum Discussion
json attachment problem - multipart content
Hi, is there someone, who successfully run json requests with attachments through ASM (>= 11.5) without a "malformed json data" violation?
we allways get a the violation because of a '-' (minus).
The description is "Malformed document - Illegal character encountered - json syntax error" The problem is, there is no '-' in the message itself, it exist only in the encapsulation boundary.
I want to ask here, before I open a case.
Thx
3 Replies
- samstep
Cirrocumulus
It is difficult to say what the problem is without seeing the actual request.
I have seen a similar issue once, but the problem was with the application - it was indeed using invalid JSON sysntax due to a issue with a JQuery lirary.
A good idea is to check the syntax of JSON request here: http://jsonlint.com
- Torti
Cirrus
nice, multipart requests are not supported for JSON.
Again, It looks like we are the only company in the world, who is using this feature :-D
So, how do it the rest of the world? - james88_332561
Nimbostratus
Use this tool to check the syntax of JSON request: JSON Formatter
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
