Test post method.