title: What is the best way of securing a REST API?
body: <p>I am developing a REST API with Java using <code>Jersey</code> and what is the best way of securing it? I looked at various things from password based authentication, <code>Servlet Context</code> , and I heard about tokenization and so on. But what is the industry standard way to secure it and make sure nobody can get data from a <code>GET</code> request by just typing the URL in browser, simply make a <code>POST</code>  calll from <code>PostMan</code> and so on? Any learning materials on implementing this best way?</p>
  
  <p>In simple English, what i am asking is, how can I secure my REST API by making sure the API is accesible only to our app?. The method of doing it can be anything from password to token. I am learning it now trying to implement it, but before I need to know what to learn, because I am looking for the best practice and industry standard way of doing so.</p>