• Cloud Container Engine

cce
  1. Help Center
  2. Cloud Container Engine
  3. API Reference
  4. Pod (Native Kubernetes APIs)
  5. Connecting GET Requests to the Proxy of a Pod

Connecting GET Requests to the Proxy of a Pod

Function

This API is used to connect GET requests to the proxy of a pod.

URI

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

Table 1 describes the parameters of this API.

Table 1 Parameter description

Parameter

Mandatory

Description

path

No

Path is the URL path to use for the current proxy request to pod.

namespace

Yes

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

name

Yes

Name of the Pod.

Request

N/A

Response

N/A

Status Code

Table 2 describes the status code of this API.

Table 2 Status code

Status Code

Description

200

This operation succeeds, and the response from the application in the Pod is returned.

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