title: Query SharePoint Online Term Store via REST
body: <p>I would like to query and retrieve terms from a termset in my SharePoint Online term store, so they can be used as lookup data from the UI in an external web application (JAVA backend, angular/material frontend).</p>
  
  <p>This is NOT a Provider Hosted SharePoint App, so I need to access the term store using REST or SOAP via the web.</p>
  
  <p>What I am trying to build is something similar to the Taxonomy Picker component created by the MSFT OfficeDev PnP team (<a href="https://github.com/SharePoint/PnP/tree/dev/Components/Core.TaxonomyPicker" rel="nofollow noreferrer">https://github.com/SharePoint/PnP/tree/dev/Components/Core.TaxonomyPicker</a>), except that it should not be dependent on being run within a Provider-Hosted SharePoint app.</p>
  
  <p>Is this possible?  Is there such an API that can be leveraged, with security, etc., so we can pass in a client secret key or something and call the REST/SOAP api to retrieve terms?</p>
  
  <p>I don't need to update terms, only retrieve them (label and termID).</p>
  
  <p>thanks!</p>