fix post resource url