Start a new topic

How do I pass parameters to a ql.io script?

I have a ql.io script that has a couple of parameters. How do I pass these parameters from my client to ql.io?
1 Comment

You can pass parameters to a ql.io script by adding them to the query string of your request, like



/appdata/:appkey/:collectionName/?query={"ql.io-param-name": "ql.io-param-value"}



You can find more details at in the devcenter at http://devcenter.kinvey.com/guides/external-data-sources#qlio-scripts



There's also a couple of iOS sample applications that show this in action:



[Instagram Viewer](http://devcenter.kinvey.com/ios/samples/oauth2di)

[LinkedIn Connections List](http://devcenter.kinvey.com/ios/samples/oauth1linkedin)

Login or Signup to post a comment