-
Notifications
You must be signed in to change notification settings - Fork 33
Home
Julian Knight edited this page Feb 13, 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 - @mblackstock
- 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 - @sreelatha-s
- 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
- How do I access different parts of the msg object? (see here for examples)
- 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
- 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