fix the invalid HTTP method in some post calls