Removing unnecessary fields from post calls