VENTES: 1-800-867-1389

 none
Changing the maximum URL length for the development storage emulator

    Question

  • I'm making a request to the local storage which is over 300 characters in length.   (Pretend this request is over 300 characters)

    http://127.0.0.1:10002/devstoreaccount1/MyTableName(PartitionKey='MyReallyLongPartitionKey',RowKey='MyReallyLongRowKey')

    I receive the following error message:

    Bad Request - Invalid URL


    HTTP Error 400. The request URL is invalid.

    Now, if I shorten the keys for a total length of 300 for the URL, I receive the ResourceNotFound error, which is fine, of course, as there is no such entity.

    Obviously, it's allowable to have valid PartitionKeys and RowKeys queries exceeding the length of 300.

    Is there any way to change the maximum URL length that the development storage emulator will accept?   

    vendredi 23 mars 2012 03:33

Réponses