Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to send authenticated requests to the OData service

$
0
0

This example demonstrates how to send authenticated requests to the OData service. The main idea is to handle the ODataContext.beforeSend event and add login information to the header of your request.

See also:
How to process authenticated requests on the OData service

Question Comments

Added By: Phil Jenson at: 1/28/2013 3:12:21 AM    

I believe 'beforeSend' function should be a member of the ODataContext and not a member of the CategoryList object.

Added By: Hasan Baidoon at: 7/9/2013 10:33:08 PM    

Hi,

I want to know if this method for Basic Authorization works when JSONP is enabled.

Thanks.

Added By: Onkelinx Ghislain at: 2/13/2014 2:06:23 PM    

Which version of visual studio works this example?


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>