Can someone help me please?
I have created my very first ASP.net project and intend to invoke PI Timestamp and value to text boxes using PIwebAPI.
My attachment includes:
the aspx file - the Jquery Ajax Call - The routing configuration - and the API Controller.
Browsing directly using the API url: http://localhost:49499/PI/PI returns:
which are exactly the Json content that I am expecting.
But I fail when I try to use Jquery Ajax to invoke these 2 parameters and try to parse it into my text boxes.
I get error
Any help is very appreciated.