I'm trying to implement a customized Website to upload/list/preview Data from Orthanc. The REST API ist very nice as long as the Orthanc Server is the same as the webserver where the website is hosted.
Is there any possibility to query data via REST API without to violate the Same-Origin-Policy? I tried to use JSONP with AJAX but Orthanc didn't seem to support callback functions.
Is there any other solution for this problem or am I completely off the track?
For anyone uses nginx for webserver, modify these lines in your nginx config file: