GET and PATCH in translate middleware