1
$\begingroup$

I want to download a cloud APIFunction, but I don't get dependent functions back.

I tried deploying this function

f[] := "hello ";
g[] := "world!";
o = CloudDeploy[APIFunction[{}, f[] <> g[] &]];
URLExecute[o]
"hello world!"

But when I download the CloudObject I only get the definition for the APIFunction, but I am missing definitions for g and f.

CloudGet[o]
APIFunction[{}, f[] <> g[] &]
$\endgroup$
  • $\begingroup$ They are read too. If you want to see them try Import[o, "Text"] $\endgroup$ – Kuba Sep 13 '17 at 14:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.