You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// connect GET requests to portforward of Pod
CoreV1API_connectGetNamespacedPodPortforward(apiClient_t *apiClient, char * name , char * _namespace , int ports );
If I am using API wrong, please give me comment
The text was updated successfully, but these errors were encountered:
I m trying to this command
=================================================================
curl -k -H "Authorization: Bearer $TOKEN" -H 'Accept: application/json' https://10.96.0.1:80/api/v1/namespaces/default/pods/My-Pod/exec
=================================================================
But I receive below Json Message
{
"kind": "Status",
"apiVersion": "v1",
"metadata": {
},
"status": "Failure",
"message": "Upgrade request required",
"reason": "BadRequest",
"code": 400
}
I think ... Curl can't use TCP websocket.
How can I use Exec API???
// connect GET requests to portforward of Pod
CoreV1API_connectGetNamespacedPodPortforward(apiClient_t *apiClient, char * name , char * _namespace , int ports );
If I am using API wrong, please give me comment
The text was updated successfully, but these errors were encountered: