config post method