fix POST to incorrect relative endpoint