Apama 10.3 | Apama Documentation | Connecting Apama Applications to External Components | Standard Connectivity Plug-ins | The HTTP Server Transport Connectivity Plug-in | Mapping events between EPL and HTTP server requests | Providing HTTP query parameters
Providing HTTP query parameters
HTTP requests can be set to contain request parameters, which are encoded at the end of the URL in the following form:
The request parameters are decoded and added to the metadata.http.queryString map as key-value pairs. The parameters can either be mapped to a dictionary field in an event, or a specific named parameter can be mapped to a single field. For example:
- mapperCodec:
# set one query parameter individually
- payload.paramValue: metadata.http.queryString.param
# alternatively set all query parameters in an EPL dictionary
- payload.parameters: metadata.http.queryString

Copyright © 2013-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.