Added a postResource method to resourceloader