Added ability to post resource