HTTP~ Fire!

Send request to domain ingress.

  • POST data to target function URL:

    curl -d '{"hello":"ofn"}' \
         -H 'Content-Type: application/json' \
         http://openfunction.io/default/sample-node-http-trigger
  • Wait a second (may be few more seconds for cold start), you would get results:

    • From terminal: {"hello":"ofn"}
    • From MQTT X [1] desktop client 👉

  1. See also: OpenFunction 202 - Set up MQTT Broker ↩︎