-
Notifications
You must be signed in to change notification settings - Fork 2
Functions_Webhooks_RequestMirroring
Florian Fehring edited this page Jan 16, 2026
·
3 revisions
Request mirroring allows to mirror any request send to SmartData to another REST-API.
The complete request is mirrored. Including:
- Body (if available)
- HTTP Method
- Media Type
- Query Params
- Header
- Cookies
Configuration for this feature is done within the SmartData configuration.properties (e.g. SmartDataXXX_config.properties) found in the config directory of your domain.
Mirror targets follow the sheme: APIPATH_COLLECTIONNAME_STORAGENAME_REQUESTMETHODNAME_url=TARGET_URL
Example:
RECORDS_NGI_RESTUTILS_SMARTMONITORING_POST_url=http://localhost:8080/MyRestAPI/
Mirror targets allow useage of regular expressions.
Example to mirror requests containing a datasetid after table name:
RECORDS_NGI_RESTUTILS_[0-9]+_SMARTMONITORING_GET_url=http://localhost:8080/MyRestAPI/