Adding resource url for post requests