title: Node Express Res SendFile
body: <p>I'm having trouble with the res.send context. I do have the <code>index.html</code> in my directory and it doesn't work as I'm expecting to. It just doesn't show my HTML file.</p>
  
  <pre><code>app.listen(8081, function(){
      console.log("Servidor rodando na url http://localhost:8081");
  });
  
  app.get("/sendfile", function(req,res){
      res.send("Página SENDFILE")
      res.sendFile(__dirname + "index.html");
  });
  </code></pre>
  
  <p>Here's what is showing in the localhost page:</p>
  
  <p><img src="https://i.stack.imgur.com/bqN5n.jpg" alt="What is showing:"></p>
  
  <p>Here's my directory:</p>
  
  <p><img src="https://i.stack.imgur.com/kqJc7.jpg" alt="My_dir"></p>