Skip to content

Latest commit

 

History

History

coap

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

CoAP

This trigger provides your flogo application the ability to start a flow via CoAP.

Installation

Flogo CLI

flogo install github.com/project-flogo/edge-contrib/trigger/coap

Configuration

Settings:

Name Type Description
port string The port number

Handler Settings

Name Type Description
path string The path of the CoAP request
method string The Method to listen on

Output:

Name Type Description
queryParams params The query parameters
payload string The payload of the CoAP Message

Example

{
  "id": "coap-trigger",
  "name": "Coap Trigger",
  "ref": "github.com/project-flogo/edge-contrib/trigger/coap",
  "settings": {
      "port" : "5683"
  },
  "handlers": {
    "settings": {
    	"path": "/flogo"
    
    }
  }
}