Group Abstract Group Abstract

Message Boards Message Boards

Can one use Wolfram Cloud to set up a client-server Mathematica env't?

POSTED BY: Brian Galvin
3 Replies

First, apologies to Jesse; I realized when I went to get the sample that I had moved on to a different (NOT better) approach, and lost the sample.

Anyway, thanks Chad for the post; I will try it and reply with results, good or bad.

This is not my day job, so I only work on this in evenings usually…

POSTED BY: Brian Galvin

The URLExecute is returning a login page, as expected. To return a result, you have to provide credentials. The simplest way to do this is to wrap CloudObject around the url when you are connected to the cloud ($CloudConnected is True).

URLExecute[CloudObject[-url-],{"param1"->"value1",....},...]

In the case of your clients, there are a couple of options currently implemented. Perhaps more options will be available soon.

First, you can set the Permissions of the deployed APIFunction to "Public". But this will allow anyone to access your function (so long as they know the url).

Alternatively, you can specify who has permissions to evaluate the function. Currently, these users need to have a WolframCloud account.

POSTED BY: Chad Knutson

Can you post the URLExecute function you're using? The problem might be that the arguments aren't properly formatted.

POSTED BY: Jesse Friedman
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard