jsonplaceholder icon indicating copy to clipboard operation
jsonplaceholder copied to clipboard

How to get quantity of elements?

Open sbrshk opened this issue 8 years ago • 1 comments

Hi @typicode First, thanks for cool peoject!

I'd like to ask, is it possible to get the number of elements in the resposne? And if so, how to do this. Thnx :)

sbrshk avatar Jul 07 '17 07:07 sbrshk

You can send request to http://jsonplaceholder.typicode.com/posts?_start=0&_end=1 And response will be sent with X-Total-Count header.

vahrammer avatar Jun 27 '18 16:06 vahrammer