Reputation: 615
I use Azure with DocumentDB as my database.
I use the continue (paging) option for enable paging in search .
I received the following token from my database , and I want to pass that token to my client via WebAPI http.
the token is :
"{\"token\":\"+RID:blablablabla==#RT:1#TRC:20#RTD:bOCA\",\"range\":{\"min\":\"\",\"max\":\"FF\"}}
My problem is that when I send the token from my user I receive part of the token, so what I need to send to my remote client? Thanks!!! MAK
I solve the problem by sending the token in POST method instead in GET method add the token in the request body !
Upvotes: 1
Views: 1187
Reputation: 27825
It seems that you’d like to implement paging through query results via the continuation token (x-ms-continuation). I do a test on my side to retrieve the next page of results from a query executed earlier, which works fine, please refer to it to construct the request.
Resubmitting the request with the x-ms-continuation request header (cannot be used with a different query)
Upvotes: 1