Update request handler
Changes the values of the request handler fields
Function UpdateRequestsHandler(Val Project, Val HandlersKey, Val OintLibrary = "", Val OintFunction = "", Val Method = "") Export
| Parameter | CLI option | Type | Required | Description |
|---|---|---|---|---|
| Project | --proj | String | ✔ | Project filepath |
| HandlersKey | --handler | String | ✔ | Handlers key |
| OintLibrary | --lib | String | ✖ | Library name in CLI format |
| OintFunction | --func | String | ✖ | OpenIntegrations function name |
| Method | --method | String | ✖ | HTTP method to be processed by the handler: GET, JSON, FORM |
Returns: Structure Of KeyAndValue - Result of changing the handler
- Bash
- CMD/Bat
melezh UpdateRequestsHandler \
--proj "/proj.melezh" \
--handler "cead35dfd" \
--lib "vk" \
--func "CreatePost" \
--method "FORM"
melezh UpdateRequestsHandler ^
--proj "/proj.melezh" ^
--handler "cead35dfd" ^
--lib "vk" ^
--func "CreatePost" ^
--method "FORM"
Result
{
"result": true
}