Check Post API data valid Json or not in .net core Web API
Binumon George
161
Reputation points
Hi All,
I am creating one Post API for external Users. API included string, DateTime, Integer fields. This may contain List of datas. So there is a possibilities like user can enter string values in int and datetime fields. So how we can prevent user entering wrong values in fields and how we can check data is Valid Json or not. I am using .net core 6. There is Another possibilities user can call this API programatically and assign datas
Developer technologies ASP.NET ASP.NET Core
4,815 questions
Sign in to answer