• Cloud Container Engine

cce
  1. Help Center
  2. Cloud Container Engine
  3. API Reference
  4. Pod (Native Kubernetes APIs)
  5. Proxying OPTIONS Requests to a Pod

Proxying OPTIONS Requests to a Pod

Function

This API is used to proxy OPTIONS requests to a Pod.

URI

OPTIONS /api/v1/proxy/namespaces/{namespace}/pods/{name}

Table 1 describes the parameters of this API.

Table 1 Parameter description

Parameter

Mandatory

Description

namespace

Yes

Object name and auth scope, such as for teams and projects.

name

Yes

Name of the Pod.

NOTE:

If the port is not 80, the value format of this parameter should be scheme:podname:port.

Request

N/A

Response

N/A

Status Code

Table 2 describes the status code of this API.

Table 2 Status code

Status Code

Description

301

This and all future requests should be permanently directed to the given URI indicated in this response.

For the description about status codes, see section Status Codes.