Hi Punits, is it mandatory to use that specific header? Cause there is a "count" property inside JSON responses that aware you about the total results contained in that response.
Maybe it could satisfy your needs, considering that you want to know how many items you are getting.
Correct me if this is not your purpose.
No, it is not mandatory to get that information in header. I am ok to get it in body as well. I just need the total number of records/rows that the REST API call will fetch, before I actually start pulling the data. I am ok with doing 1 dummy fetch just to get the count. My pull logic depends on the number of rows. Where do I get this count property in body/header of json response?
I do see 1 count in the body at the end of the json response but it is constrained by the limit i.e. 2000 (see the screenshot taken from POSTMAN below) . I am talking about REST API which returns more than 3 million rows. I need the exact total count of rows to implement my pull logic.
and, please use our internal slack channels and not the forums if you're an oracle employee