Connecting Tech Pros Worldwide Help | Site Map

WCF REST and 206 character URL limit

mokoujan@yahoo.com
Guest
 
Posts: n/a
#1: Sep 26 '08
Hello all

I am currently developing a WCF REST service. One of the requirements
is to allow the users to search data via the rest interface. As such
key field information is passed in the URL. The number of key fields
can vary and as such a request string format is used to collate all
the required fields into one URL parameter.

This means I am hitting the limit of 260 characters for each url
parameter

EG.

http://address/element1/element2/

if element 2 exceeds 260 characters then a bad request error seems to
be generated by the framework. Now I can change my design to pass
these key field information via the body of a POST but the users want
to execute this call from the browser.

So does anyone know if this limit change be changed via configuration,
is this an MS limit or a http protocol limit?

Many thanks

Mo
Closed Thread