Fixed to allow POSTing of empty data to the Api, which was the previous behaviour