2
Answers

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

anurag vatsa

anurag vatsa

13y
3k
1
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)
0
anurag vatsa

anurag vatsa

NA 3 3k 13y
Hello Sam, I have updated my question. please go through once. Do i need to provide more detail then let me know. thanks for your suggestion. :) Thanks & Regards
0
Sam Hobbs

Sam Hobbs

NA 28.7k 1.3m 13y

Try this first and then you will be more likely to get help when you ask more specific questions. I don't know why no one is helping you with this but I don't know how to consume a restful service. If possible, please make separate threads for the two questions of how to consume a restful service and "land in on some xyz.html page". I am sorry that I don't kow what "land in on some xyz.html page" means.