Hi,
I am attempting to learn how to use a Web API (created by another party) can be used in an ASP.NET application. I have used this Web API in a VFP application. In summary this is what I do in VFP application:
1. Create a JSON with IDs and value pairs (that need to be passed to the Web API)
2. Create a wwHTTP object, based on the West-Wind wwHTTP.PRG
3. Call httpget or httppost method of the wwHTTP object and pass the end point of the Web API
4. Check Response string returned by the httpget, which tell the app if successful or not
Would the steps in the ASP.NET application be the same? And if yes, how would I create a HTTP object (step 2 above) in the ASP.NET application? Does .NET have a namespace/class for that?
TIA for any input or suggestions
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham