added an ability for API to server a static file on GET requests