REST Web Services API

What happens when you use the latest release of the rest web services module?

Try two things:

  1. Look at your browser’s javascript console to see if there’s an error message there
  2. Look at the server logs to see what error is displayed when you try to load that page

LOCALOST LOG FILE … PLEASE HAVE A LOOKlocalhost.2017-08-03.txt (142.8 KB)

sir. It is loaded successfully and shows no errors … see image

AFTER_START

THIS_PAGE_COMES_STAYED_HERE

mozilla browser JS log … with respect to the link mentioned above…IS this helpful?

same error is show in the chrome browser … see the image… please sir.

Uncaught TypeError: this.$el.off is not a function Why is this error ?

@darius

ERROR FROM BROWSER backbone-min.js?v=1.9.10:3 Uncaught TypeError: this.$el.off is not a function at s.undelegateEvents (backbone-min.js?v=1.9.10:3) at s.delegateEvents (backbone-min.js?v=1.9.10:3) at s.e.View (backbone-min.js?v=1.9.10:3) at s.constructor (backbone-min.js?v=1.9.10:12) at new s (backbone-min.js?v=1.9.10:3) at s.initialize (swagger-ui.min.js?v=1.9.10:10) at s.e.Router (backbone-min.js?v=1.9.10:3) at new s (backbone-min.js?v=1.9.10:3) at HTMLDocument. (apiDocs.htm:207) at Function.ready (jquery.min.js?v=1.9.10:26)

sir @darius , @dkayiwa here is the error log from mozilla error console … I hope this will help.

Sir, Is this java message due to my old version of jre 6 u45 i am using. Do I need to change it? or what settings should I choose for REST API swagger documentation. like which version of tomcat, jre etc

@darius @dkayiwa please sir. guide me … thank you in advance.

Can you paste the contents of your server log at pastebin.com?

sure sir. why not!

Sir, Requested localhost.2017-08-03.log code is pasted here.

https://pastebin.com/6d2HmE25

Are you sure you are using the latest version of the rest webservices module?

sir i am using Openmrs Last Build: 2015-12-01 02:00 Version: 1.9.10 Build f5ae64 & i am using Rest Web Services OMOD 2.19.0.f2b4a2 also i am using a radiology module with Radiology 0.1.0.0-dev-SNAPSHOT

Sir,Guide me If I need to change settings…But I want to stay with openmrs versions 1.9.X … because of radiology module. :slight_smile:

Can you use the latest webservices module that is here? https://modules.openmrs.org/#/show/153/webservices-rest

yes Sir, I can see…I am downloading and will load it in 1.9.10 same build version. I will let you know what happen … after few min’s .

sir! i have downloaded the latest version but i give the same error… see image below

Same error, If it works for you then please guide me tomcat version, java, Web Browser version, Openmrs version, mysql version I can change all these … if it is work for you sir.

Can you now paste the server log at pastebin.com?

sure sir, wait please