r - OpenCPU Functions -
i trying out opencpu software making r-based functions available web services. created (for testing purposes) function takes true/false , returns 1 of 2 strings result.
i managed web service running (in single-user mode, on own computer). however, when try access web service posting, return value isn't result of function, instead bunch of urls:
/ocpu/tmp/x038e60b267/r/.val /ocpu/tmp/x038e60b267/stdout /ocpu/tmp/x038e60b267/source /ocpu/tmp/x038e60b267/console /ocpu/tmp/x038e60b267/info /ocpu/tmp/x038e60b267/files/description
the first url return result of function call, nice. isn't there way return value post result of function call, rather bunch of urls?
i'm sure i'm missing obvious here.
this trivial. if append "/json" end of url, return result json.
Comments
Post a Comment