---
title: "Handle Request"
method: POST
path: "/handle-request"
tags: ["Request"]
---

# Handle Request

`POST /handle-request`

## Request body

- RequestHandlerRequestBody
  - `requestHeaders` Headers — Map (string-to-string dictionary) of key value pairs of headers
  - `requestTrailers` Trailers — Map (string-to-string dictionary) of key value pairs of trailers
  - `requestBody` string — Base64 encoded body
  - `invocationContext` InvocationContext
    - `requestId` string
    - `protocol` string
    - `scheme` string
    - `apiName` string
    - `apiVersion` string
    - `vhost` string
    - `supportedMethods` string
    - `method` string
    - `basePath` string
    - `path` string
    - `pathTemplate` string
    - `source` string
    - `prodClusterName` string
    - `sandClusterName` string
    - `authenticationContext` InvocationContextAuthenticationContext
      - `tokenType` string
      - `token` string
      - `keyType` string

## Response `200`

Successful operation

- RequestHandlerResponseBody
  - `directRespond` boolean
  - `responseCode` integer
  - `dynamicEndpoint` DynamicEndpoint
    - `endpointName` string
  - `headersToAdd` Headers — Map (string-to-string dictionary) of key value pairs of headers
  - `headersToReplace` Headers — Map (string-to-string dictionary) of key value pairs of headers
  - `headersToRemove` string[] — Array of header keys
  - `trailersToAdd` Trailers — Map (string-to-string dictionary) of key value pairs of trailers
  - `trailersToReplace` Trailers — Map (string-to-string dictionary) of key value pairs of trailers
  - `trailersToRemove` string[] — Array of header keys
  - `body` string — Base64 encoded body
  - `interceptorContext` InterceptorContext — Map (string-to-string dictionary) of key value pairs
  - `properties` Properties — Map (string-to-string dictionary) of key value pairs of properties
  - `rateLimitKeys` RateLimitKeys — Map (string-to-string dictionary) of key value pairs of rate limit keys

---

[API](https://skmtc.dev/wso2/apis/choreo-connect-interceptor-service.md) · [All operations](https://skmtc.dev/wso2/apis/choreo-connect-interceptor-service/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/wso2/choreo-connect-interceptor-service/revisions/aa84b5c8ad85/schema)
