|
@@ -24,7 +24,7 @@ class orthancQR:
|
|
def cEcho(self,name):
|
|
def cEcho(self,name):
|
|
apiURL='/'.join([self.net.getCoreURL(),'modalities',name,'echo'])
|
|
apiURL='/'.join([self.net.getCoreURL(),'modalities',name,'echo'])
|
|
v={}
|
|
v={}
|
|
- response=self.net.get(apiURL)
|
|
|
|
|
|
+ response=self.net.post(apiURL,json.dumps(v),'json')
|
|
#OK if empty,JSON if fail
|
|
#OK if empty,JSON if fail
|
|
return orthancDatabaseBrowser.extractJSON(response.data)
|
|
return orthancDatabaseBrowser.extractJSON(response.data)
|
|
|
|
|