rp.get(SEARCH_APPS_PATH+searchTerm) .then(response => JSON.parse(response.body)) .then(body => body.Applications) .catch(error => { console.log(error); throw error; })
rp.get(SEARCH_APPS_PATH+searchTerm) .then(response => JSON.parse(response.body)) .then(body => body.applications) .catch(error => { console.log(error); throw error; })