Move Encode to Request