anurag vatsa

anurag vatsa

  • NA
  • 39
  • 3.3k

Consume restful service using javascript and display the response in HTML5 page

Dec 2 2011 6:42 AM
Hi,
i have restful service http://10.6.16.163:21829/RestService.svc/IsUserAuthenticated/yash/ashwin.nooli/c2ltaGFtMTIz/00000000-0000-1000-8000-000C29856514.
In this url i am passing parameter as Domain Name, userName,Password,and device ID. Once i login with user credentials. I get the response in XML. ie., 1)Auth Code ,2)personID.
Now my question is, how to retrieve the those responses and after validation how to navigate to some XYZ.html page.
Here i am using HTML5,JavaScript and CSS3. Am using NotePad++ as my developement platform on windows7 OS.

If any more clarifiication is needed, please let me know.


Thank you,
anurag





 

Answers (2)