title: Getting an error when running React with asp.net core and getting data from controller
body: <p>I am running a tutorial from reactjs.net. When I get to the part that gets the data from the controller instead of from the page (which works), it gets an error.</p>
  <p>I put a breakpoint on the controller for the method for the route &quot;comments&quot; and it never gets there. I assume the &quot;url&quot; is having a problem.</p>
  <p>The page looks like:</p>
  <p><a href="https://i.stack.imgur.com/ZwOd0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZwOd0.png" alt="enter image description here" /></a></p>
  <p>The controller page looks like:</p>
  <p><a href="https://i.stack.imgur.com/Zxq85.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Zxq85.png" alt="enter image description here" /></a></p>
  <p>The error I get it:</p>
  <p><a href="https://i.stack.imgur.com/ZosCv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZosCv.png" alt="enter image description here" /></a></p>