JQuery Client Library

Notice: This article is maintained for historical purposes. The Bixly Automate/Nebri OS platform that Bixly built, and this article features, is no longer available. Checkout Serverless Providers as an alternative.

Interested in connecting your jQuery to your Nebri instance? We would like to provide these two helper libraries to kick start your efforts.

jQuery Client (without auth)

jquery Client With Auth

What you get:

api_request

  • api_module: the name of the api module stored on your NebriOS instance
  • view_name: the name of the target function contained in the given api module
  • method: the desired HTTP request method
  • payload: an object containing params and values, if no payload is meant to be sent, null should be passed
  • callback: the function to execute after a successful api request. this callback will receive all data included in your view’s response. null should be sent if a callback is not specified.
  • error_callback: the function to execute after an unsuccessful api request. null should be sent if an error callback is not specified.

Example

Now the software you are creating on your server can easily reach out to your Nebri instance to pull/push information. Ajax to your Nebri instance all day!