Interface FormParser
access this type via: ws.FormParser (provides, requires or uses)
Interface to parse the data sent in a HTTP web form via a POST request. The content type of the post, and the payload, should be directly passed into this interface. The implementation attempts to parse the form based on all known content types.
Functions
FormData getFormData(char contentType[], byte payload[])
FormData getFormData(char contentType[], byte payload[])
Parses form data from a POST request.
returns: The parsed form data, or null if no known parser was available for the given content type or the payload was malformed. Note that FormData may contain fields that are sub-types of FormField, depending on the type of form that was parsed.