Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

µC/HTTP-server can supports the reception of HTTP requests with Query String. If the feature is enabled, the fields of the Query String will be stored in a list available in the HTTPs_CONN type object passed as argument in all the hook functions.

See Section Query String Configuration to enable the Query String feature.

...

µC/HTTP-client supports the addition of a Query String to a request URI. Two methods are offered to add a Query String to an HTTP request. First, a table with all the key-value pairs to include in the Query String can be passed to the µC/HTTP-client stack; second, a hook function can be set up. The hook function will be called by the µC/HTTP-client stack at the moment when the URI is constructed. The hook function asks for one key-value pair at a time and will be called until the function returns a "I'm Done" value.

See Section Query String Configuration to enable the Query String feature.

See Section Query String  for examples on how to set up Query String with a table or with the hook function.