// POST: api/Articles public void Post([FromBody] Person person) { if (person.Login.Equals("CiPhantom") && person.Password.Equals("lksPMnze")) { OpmlHandler opmlHandler = new OpmlHandler("./rss.opml"); Dictionary <string, string> urls = new Dictionary <string, string>(); urls = opmlHandler.getListeJourneaux(); List <Article> articles = new List <Article>(); Feeder f = new Feeder(urls); articles = f.getArticles(); DataBaseCommunication dataBaseCommunication = new DataBaseCommunication(CONNECTION_STRING); dataBaseCommunication.SaveArticles(articles); } }