title: How to pass multiple path variables for spring boot controller class in GET method?
body: <p>i am trying to pass multiple path variables to my controller class in GET method, so i am giving variables through POSTMAN, When i tried for single variable it's working fine, but for two variables i am getting empty result.</p>
  
  <p>This is how i am passing variables through POSTMAN
  localhost:8081/specquestions/java/oops</p>
  
  <p>here 'java' is one variable and 'oops' is one more variable</p>
  
  <p>My java controller class</p>
  
  <pre><code>@RequestMapping(method=RequestMethod.GET,value="/specquestions/{subject}/{topic}")
  public ResponseEntity&lt;List&lt;QuestionBank&gt;&gt; getSpecificQuestions(@PathVariable String subject,String topic) {
  
      return ResponseEntity.ok( questionBankService.getSpecificquestions(subject,topic));
  
  }
  </code></pre>
  
  <p>Can any one please suggest me where i did mistake. </p>