allow post  for commit api call