I'm trying to develop a program that handles POST and GET requests.
I've spent countless hours searching around the web for a tutorial that doesn't depend on ASP.NET I do not want to use ASP.NET just standard C#.
How can I achieve this? The furthest I've gotten to is this:
if (HttpMethod.ContentType == "POST") {
// Code here
}
I've made a function HttpListen server on http://localhost:8080/
which sends a response.
What I'm looking for is you do http://localhost:8080/?method=val1&results=val2
.
Thanks, Brown.