title: Pass value to <%- %> variable in HTML
body: <p>I have an HTML file in my local system.</p>
  <pre><code>&lt;div class=&quot;&lt;%-var1 %&gt;&quot;&gt;&lt;/div&gt;  // test.html
  </code></pre>
  <p>If I run this code given below :
  I am able to replace variable &lt;%-var1 %&gt; in the response.</p>
  <pre><code>let test = (request, response, next) =&gt; {
      return response.render(&lt;path-to-file&gt;, {
          var1: &quot;class1&quot;
      });
  }
  </code></pre>
  <p>The reponse I get:</p>
  <pre><code>&lt;div class=&quot;class1&quot;&gt;&lt;/div&gt;
  </code></pre>
  <p>but if I move this HTML file to AWS s3 bucket.
  (say its on https://mydomain/test.html) and I apply code as given below :</p>
  <pre><code>const options = {
      url: 'https://mydomain/test.html',
      method: 'GET',
  };
  
  let test = (request, response, next) =&gt; {
      requestHTTP(options, (err, resp, body) =&gt; {
          if (resp || resp.statusCode == 200) {
              return response.render(body,{
                  var1: 'class1',
              });
          }
      });
  }
  </code></pre>
  <p>Now I am not able to replace the variable, and getting:</p>
  <pre><code>&lt;div class=&quot;&lt;%-var1 %&gt;&quot;&gt;&lt;/div&gt;
  </code></pre>
  <p>As far as I know, response.render method is no use for my purpose.</p>