Fix regression with web api posts