title: Refresh web api
body: <p>Hello I initialize the api/page using a simple web api controller, my question is how to reinitialize the xml values every few seconds without refreshing the whole page. The scope of this is to detect the database changes (if any) and show them in real time on the page.</p>
  
  <p>My api is similar to this:
  <a href="https://docs.microsoft.com/en-us/aspnet/web-api/overview/getting-started-with-aspnet-web-api/tutorial-your-first-web-api" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/aspnet/web-api/overview/getting-started-with-aspnet-web-api/tutorial-your-first-web-api</a></p>
  
  <p>the api is initialized with data from the db, but i want to continously recall the function so the values would change if the the db values change.</p>