Fix typo with api when receiving post content as json