main.append(addBanner("Learning REST APIs","Morten Rand-Hendriksen : February 2018","REQUEST"))
main.append(addArticle())
constarticle=document.querySelector("article")
article.append(addHeader("Sending a Request from a JavaScript File"))
article.append(addParagraph("With these two functions, I am trying to generate a call from effectively inside a web page by creating a function to send a request (that is getBoards) and a function that generates an HTML element to be added to the page. This could most likely be done with a single function but this is just an experiment so I am not too concerned about design principles here, but rather in whether or not the method works."))
article.append(addParagraph("The console logging is for troubleshooting purposes, so that I could confirm that the appropriate functions were being called, what response the request is getting and what was being returned by the getBoards function."))