Express API get rewrite