Aaron Selonke10,323 Points
How to see the request in the IDE?
TJ Grist6,548 Points
Yes there is. I'm not sure how you would do it with this example ( a console application and a rest API), but you can do it with ASP.NET MVC. You just need a certain class and namespace in .NET. With Visual Studio there is a class called Debug in the namespace Diagnostics. You can use this class in a console application or a web application. Just add the using statement:
Then you can use the Debug class (only during debug mode) and the results will appear in Visual Studio's output console as long as you do something like call the function Debug.WriteLine(). So, for example, you might check to see if a string got properly sent to the server Asynchronously using AJAX. To do this, you could attempt to log it to the console like this:
Hope that helps.