Hello,
public class FoodAnswer
{
public bool Result { get; set; }
public string ErrorCode { get; set; }
public string ErrorMessage { get; set; }
}
public class FoodOrder
{
public bool Payed { get; set; }
public string OrderID{ get; set; }
public string Price{ get; set; }
}
When I send a post request, how do I do it?
I need a HTTP server for testing. How can I create a test server for WPF desktop application?
I need it to call as POST? Can somebody give me a good sample? Step by step instruction.
Similar like this.
data-contract-and-known-type-in-wcf
http://localhost:8085/
http://localhost:8085/GetStudent?
http://localhost:8085/ Get or Post?
Here I can call a function, but I need a POST request.
How I can make a GET request, then I must see it on the browser my Json object, right?
Thanks for tips in advance. I want to use the Microsoft library, not a third party.

