Just created an open web app and I’m trying to register a patient via rest. I’m following https://wiki.openmrs.org/display/docs/Create+Patient. I have the following javascript code below to register create a patient
FYI, I wouldn’t recommend one to code against a snapshot version. Do you really have to ‘stringify’ the person object? Do you have logs from the server?
givenName and familyName should both be attributes of one object, but I think this is two different objects, one with only the given name, and one with only the family name.