Hi All,
Please help me how we can validate web api method accept only jSON as input value else throw exception and how we can expose to end user method input value accept on json object.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Laxmidhar SahooRank #383 · 6.6K reputationPosted Dec 14, 2017, 1:09 AM EST