Accessing protected REST endpoint with JQuery
- by Andy
I have a site where members login to their account (FormsAuth). I would like to set up a RESTful service that I can access using jQuery. I would like to protect these services using the same FormsAuth.
How would a third-party site be able to access these services? They would need to pass in the Principal/Identity to the service, right?
I've only seen examples of Basic Authentication (which Twitter uses and jQuery supports).
I'm very new to WCT/REST, so not sure how this should be done.