Topic
asked 3 years ago by
updated 3 years ago by
Category: API
Hello, From your documentation, I can see that I can use the "http" module to invoke third party APIs from my scriptr.io scripts. Does this mean that all requests are sent through http and not https? It is very important for us to use SSL to transfer...
asked 2 years ago by
updated 2 years ago by
Category: API
Hi, can you explain to me how I can paginate when querying for documents?
asked 3 years ago by
updated 1 year ago by
The following threw the error "TypeError: Cannot find function template in object …": var _ = require("/modules/underscore/underscore.js"); var foo = _.template("");
asked 2 years ago by
updated 1 year ago by
I need to replicate functionality from an existing api that has a dynamic url. It grabs a device id. How can I do this with scriptr? Can I convert part of a url to params somehow?
asked 3 years ago by
updated 3 years ago by
Hi, Do you guys have any sample scripts that we could use to get us started faster? Thx.
asked 3 years ago by
updated 3 years ago by
Category: API
Hi, I need some help. I'm trying the below code: I tried the following script. var test = "abc" return http.request({ url: "http://mysterious-sierra-8455.herokuapp.com/abcd", method : 'PUT', headers : { "Content-Type": 'application/json', "Content-Le...
asked 3 years ago by
updated 3 years ago by
Hi I'm getting a NULL response back from request.parameters even when passing in parameters using the IDE run dialog. Am I missing something obvious? var params = JSON.parse(request.parameters); return params.test
asked 1 year ago by
updated 1 year ago by
Category: API
Hi, I can't find the correct syntax to use sendmail function with multiple recipients. Is it possible ? Regards, Jérémie
asked 3 years ago by
updated 3 years ago by
I am using the document store for several different things inside of the same project now. 1) queuing system, 2) wifi probe caching/metadata, and over the next few days will be implementing more. Is it appropriate that I'm keeping all of the data in ...
asked 1 year ago by
updated 1 year ago by
Category: API
Everything runs just fine, then periodically (rarely) I get a series of errors: Script execution resource limit or timeout exceeded What resource limit could I be hitting? Thanks.