{"action":"closed","issue":{"url":"https://api.github.com/repos/woothemes/wc-api-node/issues/23","repository_url":"https://api.github.com/repos/woothemes/wc-api-node","labels_url":"https://api.github.com/repos/woothemes/wc-api-node/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/woothemes/wc-api-node/issues/23/comments","events_url":"https://api.github.com/repos/woothemes/wc-api-node/issues/23/events","html_url":"https://github.com/woothemes/wc-api-node/issues/23","id":163023110,"number":23,"title":"How get the value in x-wp-totalpages header","user":{"login":"jairgarcia","id":5091194,"avatar_url":"https://avatars.githubusercontent.com/u/5091194?v=3","gravatar_id":"","url":"https://api.github.com/users/jairgarcia","html_url":"https://github.com/jairgarcia","followers_url":"https://api.github.com/users/jairgarcia/followers","following_url":"https://api.github.com/users/jairgarcia/following{/other_user}","gists_url":"https://api.github.com/users/jairgarcia/gists{/gist_id}","starred_url":"https://api.github.com/users/jairgarcia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jairgarcia/subscriptions","organizations_url":"https://api.github.com/users/jairgarcia/orgs","repos_url":"https://api.github.com/users/jairgarcia/repos","events_url":"https://api.github.com/users/jairgarcia/events{/privacy}","received_events_url":"https://api.github.com/users/jairgarcia/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-29T20:49:14Z","updated_at":"2016-06-30T05:25:50Z","closed_at":"2016-06-30T05:25:50Z","body":"I need to know, how i get the header value of x-wp-totalpages, this is my code:\r\n\r\nWooCommerce.get( 'products', function( err, data, res ) {\r\n              console.log('data: ' , data);\r\n              console.log('header:  ' , res.getReponseHeader('x-wp-totalpages'));\r\n});\r\n\r\nThanks."}}
{"actor":{"display_login":"claudiosmweb"}}