8
votes
Can I Import data into Google Spreadsheet using a Wolfram Cloud API?
Yes, it's possible to do that. Here is a toy code.
...
7
votes
Build API without the WolframCloud?
Currently APIFunction / CloudDeploy works only with the Public Cloud or an Enterprise Private Cloud.
So either you need an EPC ...
Community wiki
5
votes
How to set ZeroMQ subscribe channel in Mathematica?
I think this part of the interface is broken. From some digging I found: ZeroMQLink`SocketOptions`Private`setSockOptSingle which is called by ...
4
votes
Build API without the WolframCloud?
Now there's WolframWebEngine which allows one to create a sort of personal wolfram cloud.
4
votes
APIFunction can not access HTTP request body when used with URLDispatcher
So after some digging and breaking "MQTTLink`" for while I found that "MQTTLink`" is passing garbage out to its handler ...
4
votes
Accepted
Access openai with HTTPRequest but body parameters seems not function
According to Kuba's and GustavoDelfino's comments, the solution is to make sure to send a JSON body with a proper content-type header:
...
3
votes
How can I deal with a 502 error?
Alright, I got into contact with the support for the API, and the problem was resolved on their end. Apparently, it was an error in the routers' networking configuration.
3
votes
How to set ZeroMQ subscribe channel in Mathematica?
Sorry for the late response. There is indeed a problem with ZMQ option management.
@b3m2a1 did a very good job at digging into the code for an answer. The expected input is a list of integer (list of ...
3
votes
How to set ZeroMQ subscribe channel in Mathematica?
https://www.wolfram.com/language/12/networking-and-system-operations/zeromq-publisher-model.html
...
3
votes
Accepted
How to authenticate in Wolfram Cloud created API?
You may want to implement the PermissionsKey option in the API deployment permissions:
...
2
votes
Accepted
How to setup HTTPRequest of type multipart/mixed with boundary properly in Wolfram Language?
I suspect the issue is that there is no blank line separating the headers from the body within each of the subparts. For example:
...
2
votes
Cloud Deploying a Scheduled Task
I am not sure how many of y'all have been keeping up with the Community discussion, but there are some key updates I wanted to summarize here:
ScheduledTask does ...
2
votes
How to return JSON from APIFunction without string encapsulation?
As Lukas Lang said,
You need to specify "String" as result type for the APIFunction, as in ...
2
votes
Is there any logging for cloud deployed API? If yes, how to check those?
I will show you a small piece of code you can use as a starting point, it is already nice enough.
Just compose withLogger[apiPath] with your APIFunction's function....
2
votes
How to pass parameter to an API function?
func = APIFunction[{"t" -> "Real", "y"->"Real"}, #t*#y &];
api = CloudDeploy[func, Permissions -> "Public"]
You don't need to access it via ...
2
votes
Deploying A Classifier Function
After a bit of playing around, I think I have a workable solution to share.
Firstly, let's create a classifier using the titanic datset.
...
2
votes
Build API Function
Here is an extended comment. This seems to be a task for URLDispatcher but as soon as the url contains a file extension the Cloud responds with 500 internal error.
...
1
vote
CloudDeploy DataSet does not work
I contacted Wolfram support and got the following answer.
I have forwarded an issue report to our Cloud development team. We hope this can be resolved in the future versions of Wolfram Cloud.
So ...
1
vote
How to CloudDeploy an Association as an API
content = APIFunction[{"x"->"String"},<|"lampstatus"-> "on", "temp" -> 37.2|>[#x]&]; CloudDeploy[content]
1
vote
Accepted
How to create an APIFunction that takes a list with constraints on the list elements?
WRI tech support advise to use this syntax:
func = APIFunction["x" ->
RepeatingElement[Interpreter[Restricted["Integer", {1,\[Infinity], 1}]]], #x^3 &]
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
apifunction × 28wolfram-cloud × 12
api × 8
cloud-deploy × 6
web-access × 5
http-functions × 4
functions × 2
dataset × 2
webservices × 2
networking × 2
bugs × 1
programming × 1
dynamic × 1
syntax × 1
machine-learning × 1
geography × 1
excel × 1
webmathematica × 1
mathematica-online × 1
integer-sequence × 1
monitoring × 1
scheduling × 1
json-format × 1
serviceexecute × 1
socket × 1