How to paginate metadata from response header?

So, how do I paginate response that put metadata on the header? Every ember addon that I checked uses metadata (like ‘currentPage’, ‘totalPages’, etc) on the response body.

Any advice? Thank you!


Try to store is session and then use it. I have done it for some other value.