Added checks for JSON body in accounts_data endpoint (#863)
Added checks for JSON body in accounts_data endpoint (#863)

Signed-off-by: Prateek Sachan <aee2eb041dead7406c81fddb2a5b8f85f7c181cc@cs.iitr.ac.in>
matrix-org/dendrite,matrix-org/dendrite,matrix-org/dendrite,matrix-org/dendrite