appendPathToAddress constant
BackendRule_PathTranslation
const appendPathToAddress
The request path will be appended to the backend address.
Examples
Given the following operation config:
Method path: /api/company/{cid}/user/{uid}
Backend address: https://example.appspot.com
Requests to the following request paths will call the backend at the translated path:
Request path: /api/company/widgetworks/user/johndoe
Translated:
https://example.appspot.com/api/company/widgetworks/user/johndoe
Request path: /api/company/widgetworks/user/johndoe?timezone=EST
Translated:
https://example.appspot.com/api/company/widgetworks/user/johndoe?timezone=EST
Implementation
static const appendPathToAddress = BackendRule_PathTranslation(
'APPEND_PATH_TO_ADDRESS',
);