I'm requesting data from Wordpress Api, which serves some data in response headers:
X-WP-Total: the total number of records in the collection
X-WP-TotalPages: the total number of pages encompassing all available records
But on Logging response get empty object. see below image

But in network request getting headers. see below image

Please resolve this issue, if not already or Guide me with the solution.
I'm requesting data from Wordpress Api, which serves some data in response headers:
But on Logging response get empty object. see below image

But in network request getting headers. see below image

Please resolve this issue, if not already or Guide me with the solution.