Select GET or POST according to the settings