You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running a web-app with Angular front-end and Node.js backend. I cannot import ocpu object in the opencpu.js script like shown in the documentation and appdemo example because the script that makes the ocpu requests is completely separated from the client (thus it doesn't have a window object). Is there an alternative to ocpu.call in Javascript that still allows me to manage opencpu sessions? I tried using the request function in Javascript, but the sessionid is treated purely as a string when passed as an argument in JSON format.
I should also mention that I tried adding the sessionid as a parameter directly to the request URL, but opencpu doesn't seem to recognize it. For example, this request URL would give this error:
I am running a web-app with Angular front-end and Node.js backend. I cannot import ocpu object in the opencpu.js script like shown in the documentation and appdemo example because the script that makes the ocpu requests is completely separated from the client (thus it doesn't have a window object). Is there an alternative to
ocpu.call
in Javascript that still allows me to manage opencpu sessions? I tried using the request function in Javascript, but the sessionid is treated purely as a string when passed as an argument in JSON format.I should also mention that I tried adding the sessionid as a parameter directly to the request URL, but opencpu doesn't seem to recognize it. For example, this request URL would give this error:
localhost:5307/ocpu/library/DNFAPI/R/testSession?input=4
The text was updated successfully, but these errors were encountered: