This might be related to this bug: https://tickets.openmrs.org/browse/RESTWS-186
Seems jetty has a problem with the blank get requests. I haven't looked into it yet, but there is a temporary solution on that ticket. Ben On Thu, Nov 17, 2011 at 12:19 AM, Friedman, Roger (CDC/CGH/DGHA) (CTR) < [email protected]> wrote: > ** ** > > ** ** > > -----Forwarded Message----- > From: Manor Lev-tov <[email protected]> > Sent: Nov 16, 2011 1:52 PM > To: Roger Friedman > Subject: REST API questions > > Hey Roger, > I'm having some problems with the REST API and I was wondering if you > could help. > I have two issues. > 1. The documentation specifies that it should be possible to get all > non-retired elements of the specific objects, but this doesn't appear to be > working. For instance, according to the documentation, if I do a GET on > http://raxaemr.jelastic.servint.net/openmrs/ws/rest/v1/person/b7038c8a-f94d-11e0-a6cf-ea24f7692684/names, > I should get all of the names for that person, but instead I get an error > message of "Request method 'get' not supported" > 2. I am trying to figure out how to add person attributes and I don't see > anywhere in the documentation what the correct JSON is for that. For > instance, if I want to add a "Birthplace" attribute with a value of "Test > BirthPlace" to person b7038c8a-f94d-11e0-a6cf- **** > > ea24f7692684, what is the JSON for that? > > I've combed through all of the documentation that I could find on the REST > API and these things are not addressed. Am I missing something or the > documentation just not complete? > > Thanks, > Manor**** > > ** ** > > _________________________________________ To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to [email protected] with "SIGNOFF openmrs-devel-l" in the body (not the subject) of your e-mail. [mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

