title: How search for item in specific folder and get its properties with sharepoint online REST API?
body: <p>I have to search in specific subfolder on sharepoint online for file with title.</p>
  
  <p>Right now I am using the following call</p>
  
  <pre><code>/_api/web/lists/getByTitle('MyDoc3')/items?$select=FileRef&amp;$filter=substringof(%27test2.docx%27,FileRef)
  </code></pre>
  
  <p>But here I am passing a list title to get the file ref as output. How can I search in specific folder by url and get the same output as above call?</p>