Fixing a weird issue where the empty body of post was returning []