Very hacky support for posting resources