How can I submit a URL (used for validating through Active Directory) with HTTP Request and recieve the output from the URL and use that to pass or reject validation? The validation allready work, I just need to know how to send and get the url in javascript. without leaving the page.
IMPORTANT ** THIS IS RUNNING ON HTTPS
This is a sample URL:
[CODE]
https://some.domain/?api_method=user|exists&[email protected]
Returns this value if true:
[CODE]
{“status”:”2″,”message”:”Email Address exists”}
Else if user does not exist returns this value:
[CODE]
{“status”:”3″,”message”:”Username does not exist”}
So I need to know if HTTP Request can pass a URL without leaving the page Im on, and then receive the value from the URL.
I am a little unsure of how to do this.