fix post with token api