Function not implemented for POST and PATCH