how to Connect REST API to an owa

Hi everyone,

Please How can I connect the concept REST API to my OWA. Am having difficulty doing so. Please any suggestions.

Have you tried using AJAX to read REST API end points?? eg

`    $.getJSON( ` `"manifest.webapp"` `, ` `function` `( json ) {`

    `    ` `var`   `apiBaseUrl = json.activities.openmrs.href + ` `"/ws/rest/v1"` `;`

`} );`

take a look at this

Thanks @mozzy

@mozzy do we have any link that also have well detailed documentation about using the rest api into openmrs , seems the rest api documentation on wiki is not well documented

@mozzy thanks

1 Like