WEBINAR:
On-Demand
Building the Right Environment to Support AI, Machine Learning and Deep Learning
Use StringContent
in the Web API response to return a custom JSON. See below for an example:
StringContent responseContent = new StringContent ( " { 'handled' : 'true' } ", Encoding.UTF8, 'application/json');
r.Content = responseContent;
return r;
Visit the DevX Tip Bank