﻿---
sidebar_position: 5
description: Update request handler and other functions to work with Melezh in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI]
---

import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

# 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 | &#x2714; | Project filepath |
  | HandlersKey | --handler | String | &#x2714; | Handlers key |
  | OintLibrary | --lib | String | &#x2716; | Library name in CLI format |
  | OintFunction | --func | String | &#x2716; | OpenIntegrations function name |
  | Method | --method | String | &#x2716; | HTTP method to be processed by the handler: GET, JSON, FORM |

  
  Returns:  Structure Of KeyAndValue - Result of changing the handler

<br/>



 

 <Tabs>
  
    <TabItem value="bash" label="Bash" default>
        ```bash
            melezh  UpdateRequestsHandler \
              --proj "C:\Users\bayselonarrend\AppData\Local\Temp\anxujp4k.bmi" \
              --handler "cdf15d862" \
              --lib "vk" \
              --func "CreatePost" \
              --method "FORM"
        ```
    </TabItem>
  
    <TabItem value="bat" label="CMD/Bat" default>
        ```batch
            melezh  UpdateRequestsHandler ^
              --proj "C:\Users\bayselonarrend\AppData\Local\Temp\anxujp4k.bmi" ^
              --handler "cdf15d862" ^
              --lib "vk" ^
              --func "CreatePost" ^
              --method "FORM"
        ```
    </TabItem>
</Tabs>

```json title="Result"
{
 "result": true
}
```
