Encode request parametrs.