check post method