title: Call a WebAPI in ASP.Net Core MVC
body: <p>I have programmed a backend system in which I can manage data and then output it to an API. I did this because I want to convert a large project to a different language + framework, but I still want to integrate this backend system into the current version first, because it is much better than the old way. I have been looking for days how it works but I haven't really come to a result, I hope someone can help me.</p>
  <p>example:
  I have a separate page for each member with some data from a biography etc. and I can have this displayed in the WebAPI under: &quot;https://sub.domain.de/items/member&quot; then all members and associated data is output. Now I want that I to: &quot;https://www.domain.de/member/[John_Doe]&quot; (John_Doe is of course an example value for every other member)
  can output certain data. the pages should of course still be generated dynamically.</p>
  <p>ps: if it is necessary I can also enter &quot;https://sub.domain.de/items/member/[John_Doe]&quot; to only get the data from a specific member.</p>
  <p>the json basically looks like this:</p>
  <pre><code>{
    &quot;data&quot;: [
      {
        &quot;name&quot;: &quot;John_Doe&quot;,
        &quot;status&quot;: &quot;published&quot;,
        &quot;user_created&quot;: &quot;052a2c25-b063-4a82-90cb-110d7f809cae&quot;,
        &quot;date_created&quot;: &quot;2021-06-29T08:30:06+02:00&quot;,
        &quot;title&quot;: &quot;Doc John Doe&quot;,
        &quot;Characteristics&quot;: &quot;- **Lorem **: ipsum dolor sit amet\n- **Birthdate**: 1965&quot;,
        &quot;bio&quot;: &quot;- **Lorem ipsum**:\nLorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.&quot;,
        &quot;member&quot;: true,
        &quot;section1&quot;: false,
        &quot;section2&quot;: false,
        &quot;portrait&quot;: null
      },
      {
        &quot;name&quot;: &quot;Jane&quot;,
        &quot;status&quot;: &quot;published&quot;,
        &quot;sort&quot;: null,
        &quot;user_created&quot;: &quot;052a2c25-b063-4a82-90cb-110d7f809cae&quot;,
        &quot;date_created&quot;: &quot;2021-06-29T08:29:31+02:00&quot;,
        &quot;title&quot;: &quot;Jane&quot;,
        &quot;Characteristics&quot;: &quot;&quot;,
        &quot;bio&quot;: &quot;Bio unbekannt.&quot;,
        &quot;member&quot;: true,
        &quot;section1&quot;: false,
        &quot;section2&quot;: true,
        &quot;potrait&quot;: &quot;30d17fe3-bcf7-4aa2-9759-49f3e257eb0f&quot;
      }
    ]
  }
  </code></pre>
  <p>and the bio and the characteristics are written in markdown.</p>
  <p>I hope I was able to explain what I mean and someone can help me.</p>
  <p>edit:</p>
  <p>ps: my main problem is that i don't know how to get data from an api, and of course i not only have the area with the members, i still have a lot of articles and more but it works with the same logic.</p>