-
Notifications
You must be signed in to change notification settings - Fork 33
Home
Mike Blackstock edited this page Mar 27, 2017
·
45 revisions
To help co-ordinate content for the cookbook, this wiki will be used to track topics we want to cover.
If you want to contribute a recipe to the cookbook:
- check the list here for topics we want to cover.
- have a read of the style guide
- clone the repository, add your recipe and send us a pull request
If you want to discuss any aspect, come join us in the #docs channel on slack.
Topics in italics are high-level themes and may need breaking down into multiple recipes.
- Create an HTTP Endpoint
- Handle query parameters passed to an HTTP endpoint
- Handle url parameters in an HTTP endpoint
- Access HTTP request headers
- Include data captured in another flow
- Serve JSON content
- Serve a local file
- Post raw data to a flow
- Post form data to a flow
- Post JSON data to a flow
- Work with cookies
- security
- Simple GET request
- Set the url of a request
- Set the url of a request using a template
- Set query string parameters
- Get a parsed JSON response
- Get a binary response
- Set a request header
- Connect to an MQTT broker
- Publish messages to a topic
- Set the topic of a published message
- Publish a retained message to a topic
- Subscribe to a topic
- Receive a parsed JSON message
- Create a websocket listener endpoint
- Send and receive messages using websocket listener
- Connect to an websocket endpoint as a client
- Send and receive messages to websocket client endpoint
- branching a flow
- looping
- watchdog - trigger
- report by exception
Suggest section for functions where we provide simple info on Javascript, how to use the APIs available for function nodes based on Writing Functions.
- Generate a new message using Javascript
- Send data to multiple outputs
- see Writing Functions
- Access different parts of a msg object (see here for examples)
- Calculate a result using messages from two different inputs
- catch an error
- retry an action after an error
- Write data to a local file
- Read data from a local file
- for all X in dbs
- insert data into db X
- query data from db X
- Collect data in memory temporarily
- Collect data and periodically save in a database
- How to use the storage plugin to save flows to a database
- Configure to use SSL using a self signed certificate (https://github.com/TotallyInformation/SelfSigned-Cert-Creator)
- How can I make reinstallation of nodes easier? On a Node.JS upgrade for example
- colouring text based on value
- responsive switches
- Angular recipes