Quantcast
Channel: Web API
Viewing all articles
Browse latest Browse all 4850

How to get Odata Response without Etag using Microsoft.AspNet.OData

$
0
0

As per my requirement whenever I am calling ODATA V4 controller get request, from ajax I don't want to get Odata.Etag from response. 

How can we achieve this. Is there any Web Api Odata server side configuration to disable Etags? 

"@odata.context": "http://localhost:56274/odata/$metadata#Controller",
"@odata.count": 1,
"value": [{
"@odata.etag": "W/\"YmluYXJ5J0FBQUFBRnFFUUE4PSc=\"",


Viewing all articles
Browse latest Browse all 4850

Latest Images

Trending Articles



Latest Images

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