REST - doing a GET with a really long url RRS feed

  • Question

  • Hi all;

    I'm not sure if this is the best forum for this question. If not, please point me to the correct one.

    We are trying to implement a REST server (using WCF). One problem we are hitting is we can have a GET with a really long url. The url includes a parameter of ?select={really long query}.

    This is a get as we're asking for data back. We are not creating or updating data. However, the url could easily be over 2K and it would not surprise me if at times it was over 8K.

    So what's the solution? The safest seems to be do a post where the select is in the body. But that's a violation of REST. Any suggestions?

    thanks - dave

    Who will win The Windward International Collegiate Programming Championships?

    Tuesday, June 18, 2013 1:12 PM


All replies