
# x-apigateway-backend.httpEndpoints
**含义**：API网关定义的HTTP类型API后端服务定义。
**作用域** ：[x-apigateway-backend](https://support.huaweicloud.com/usermanual-apig/apig_03_0090.html)
**示例**：
```
paths:
  '/users/{userId}':
    get:
      produces:
        - "application/json"
      parameters:
        - name: "X-Auth-Token"
          description: "认证token"
          type: "string"
          in: "header"
          required: true
      responses:
        default:
          description: "default response"
      x-apigateway-request-type: "public"
      x-apigateway-backend:
        type: "HTTP"
        httpEndpoints:
          address: "example.com"
          scheme: "http"
          method: "GET"
          path: "/users"
          timeout: 30000
```
表1参数说明 
| 参数      | 是否必选 | 类型     | 说明                                                   |
|:---|:---|:---|:---|
| address | 是    | Array  | 后端服务地址，格式为：\<域名或IP\>:\[port\]。                       |
| scheme  | 是    | String | 后端请求协议定义，支持http、https。                               |
| method  | 是    | String | 后端请求方法，支持GET、POST、PUT、DELETE、HEAD、OPTIONS、PATCH、ANY。 |
| path    | 是    | String | 后端请求路径，支持路径变量。                                       |
| timeout | 否    | Number | 后端请求超时时间，单位毫秒，缺省值为5000，取值范围为1\~60000。                |
   
