WCF REST and 206 character URL limit

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • mokoujan@yahoo.com

    WCF REST and 206 character URL limit

    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.



    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
Working...