Web api odata sending a long string of $ filter causes maxurlstring to exceed error

I am trying to send a large $ filter string to my webapi odata endpoint. But this gives me an error saying that the size of the request headers is too long / maxurlstringlength exceeds.

Is there a way to send the $ filter to the "POST" request and request the odata endpoint? I cannot use the batch operator as I am using .net framework 4.0.

+2
odata asp.net-web-api asp.net-web-api-odata
source share

No one has answered this question yet.

See similar questions:

4622
What is the maximum length of a URL in different browsers?
7
OData URL Length Limits

or similar:

nine
Asp.Net MVC4 Web API - returns OData formatted Json from a request without a special MediaTypeFormatter
4
OData DateTime Filter Error Edm.String Error?
3
Web Api and Odata without entity infrastructure
2
Cannot configure $ batch endpoint for OData web service affected by ASP.NET Web Api to Lightswitch
one
Filtering strings with Ax7 oData gives an error
one
How to check OData command collection in web API?
0
Asp.Net MVC4 Web API - Do We Need OData To Build A Quick Request Service
0
BreezeJS does not request the CORS OData web api web service
0
web api Content Discussion for Odata v4 for excel
0
Webapi update 2 key delta patches

All Articles