Add encoding & POST methods