|
|
Is there a way to use the OData Client if you use forms-based authentication to login to the service? Does anyone know how to mod the proxy class to support this? Many Thanks, Michael
|
|
Coordinator
Oct 13, 2010 at 8:51 PM
|
You can use the ObjectConext::OnBeforeSend callback to setup the appropriate headers on the HTTP request.
Hope this helps
Claudio
|
|
|
|
Do you have any examples of what the headers would be and how I would set them?
|
|
|
|
The headers are specific to the service you are trying to access. The best way to find out what you need in the headers and content of the request is to use an http sniffer while logging on to the service using your browser. Search for "http sniffer" in
Bing. There are several tools available out there, some of them free, either for the PC or the Mac.
|
|