API POST now decodes json