Muhammad replied off list to me because he has yet to receive an email confirmation to join.
His problem was a missing set of quotes around the "key" in the post content. Yes, a module can add web services: https://wiki.openmrs.org/display/docs/Adding+a+Web+Service+Step+by+Step+Guide+for+Module+Developers The calls /might/ be able to go off of core urls, but it'd be better if they went off of a module specific url so as to be certain not to clash. I couldn't find an example of a controller method that took more than one parameter, but the ObsController and EncounterController are examples of how to accept a custom url and custom parameter names. Ben On Tue, Nov 1, 2011 at 7:20 PM, Friedman, Roger (CDC/CGH/DGHA) (CTR) < [email protected]> wrote: > Ben --**** > > Do we have any tickets in for processing more than a q > parameter? Is there/will there be a way we can create additional REST > calls in a module? Even REST calls on core objects? For example, an > extension to do GetConceptByName, or an extension to get all of the members > of a concept/question set from the UUID of the set?**** > > ** ** > > *From:* [email protected] [mailto:[email protected]] *On Behalf Of *Ben Wolfe > *Sent:* Tuesday, November 01, 2011 3:07 AM > *To:* [email protected] > *Subject:* Re: [OPENMRS-DEV] REST WEBSERVICES**** > > ** ** > > (replying to dev list)**** > > What is the error code? > Any stacktrace in your server? > What user are you authenticating as? **** > > Ben**** > > On Nov 1, 2011 9:27 AM, "Muhammad Salman" <[email protected]> wrote:**** > > Dear Sir > i have Problem with inserting data/ recording data through > webservices.rest... Every "POST" Query gives me an error. is there any > restriction on it.. please suggest a solution. i am using these URI > https://wiki.openmrs.org/display/docs/REST+Web+Service+Resources.. GET > and delete works fine but POST query returns with an error. i'm using > openMRS Version: 1.8.2 Build 21762 Thanks**** > > > > -- > Best Regards > Muhammad Salman > Cell # 0092-314-9719673**** > ------------------------------ > > Click here to > unsubscribe<[email protected]?body=SIGNOFF%20openmrs-devel-l>from > OpenMRS Developers' mailing list > **** > ------------------------------ > Click here to > unsubscribe<[email protected]?body=SIGNOFF%20openmrs-devel-l>from > OpenMRS Developers' mailing list _________________________________________ 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]

