Calling REST Webservice with credentials
Hi,
I wanna create an application that calls a REST service. The service only provides information depening on the user calling the service. For example
http://xy/address/234
The address with ID 234 is only allowed to be requested if the user is authorized for. My question is, how I realize this with jquery. I am not sure how to design the authorization of the REST service to work pretty well with jquery. The credentials should not be entered on every call. So, the credentials should be saved using cookies? Shoul I use HTTP authentication? <what works best with jquery?
Regards
Texess