Example: Gigachat plugin

Step code:

{
  "method": "POST",
  "url": "https://gigachat.devices.sberbank.ru/api/v1/chat/completions",
  "authorization": {
    "typeAuth": null,
    "username": null,
    "password": null,
    "token": null
  },
  "headers": [
    {
      "key": "Authorization",
      "value": "Bearer {{PluginVar.param.token}}",
      "desc": null
    },
    {
      "key": "Content-Type",
      "value": "application/json",
      "desc": null
    }
  ],
  "body": "{{PluginVar.param.body}}",
  "settings": "retryEnabled=false\nretryCount=3\nretryNonIdempotent=false\nreadTimeoutMs=50000\nunSecureSSL=true\ncertPem=\ncertKeyPem=\ncertKeyPemPass=\nproxyEnabled=true\nproxyHost=pr.oxylabs.io\nproxyUser=customer-directual_ucYJ3-cc-ES\nproxyPass=directual_ucYJ3\nproxyPort=7777\nconnectTimeoutMs=10000",
  "typeBody": "raw",
  "responseField": "",
  "ignoreErrorCode": false,
  "templateEngine": null
}

Last updated

Was this helpful?