2
Answers

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

Photo of 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
Photo of Vulpes
NA 98.3k 1.5m 13y
I can't say I've ever used either of them but there are some examples on pinvoke.net though the first one is for MsiEnumPatchesEx rather than MsiEnumPatches: