json-server icon indicating copy to clipboard operation
json-server copied to clipboard

X-Total-Count not being returned in header

Open amm98d opened this issue 2 years ago • 1 comments

According to the documentation, adding '_start and _end or _limit' to the query params should return an 'X-Total-Count' header. I have tried them all, however, it is not being returned. Has this been updated?

amm98d avatar Oct 20 '21 05:10 amm98d

In the alpha version, the 'x-total-count' does not appear. When downgrading to version 0.17.4, the 'x-total-count' is present in the response header.

leehanjun506 avatar Jan 16 '24 07:01 leehanjun506