Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: link for more information

...

Then, in line 11, we use http:get (as an action) to invoke the result function in the generated ruleset newly installed in the child pico. This action returns the HTTP response, which we bind to the name res (using the action's setting clause).

Line 12 uses the special name reserved directive name "_txt" in a send_directive action to provide some content, specifically the content portion of the HTTP response. We just assume it was successful.

...