Central Request Handler
- class q2_sdk.core.http_handlers.central_handler.Q2CentralRequestHandler(application, request, **kwargs)[source]
Bases:
Q2HqRequestHandler
- parse_form_fields(form_fields)[source]
Parses HQ form fields for central to a dict
- Return type:
dict
- get_central_post_data_value(xml_str, search_key)[source]
Expects a string that contains valid xml, xml has children under the first child of the root named PostData that have key, value attributes. Ex: <root><someChild><PostData key=”report_id” val=”1” /><someChild></root> Most likely to be used to pull post-back data from a Central form post-back request.