Difference between revisions of "Curl http://localhost:8080/api/"
Jump to navigation
Jump to search
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
− | |||
− | |||
curl http://localhost:8080/api/ | curl http://localhost:8080/api/ | ||
[[Client sent an HTTP request to an HTTPS server.]] | [[Client sent an HTTP request to an HTTPS server.]] | ||
+ | [[curl --insecure]] https://localhost:8080/api/ | ||
+ | { | ||
+ | "kind": "[[Status]]", | ||
+ | "apiVersion": "v1", | ||
+ | "metadata": {}, | ||
+ | "status": "Failure", | ||
+ | "message": "forbidden: User \"[[system:anonymous]]\" cannot get path \"/api/\"", | ||
+ | "reason": "Forbidden", | ||
+ | "details": {}, | ||
+ | "code": [[403]] | ||
+ | }% | ||
+ | |||
+ | == Errors == | ||
curl https://localhost:8080/api/ | curl https://localhost:8080/api/ | ||
curl: (60) [[SSL certificate problem: unable to get local issuer certificate]] | curl: (60) [[SSL certificate problem: unable to get local issuer certificate]] | ||
Line 14: | Line 25: | ||
== Related == | == Related == | ||
− | * [[curl --insecure]] | + | * <code>[[curl --insecure]]</code> |
+ | |||
+ | == Activities == | ||
+ | * [[Access Kubernetes REST API using default token]] | ||
== See also == | == See also == |
Latest revision as of 18:41, 21 October 2023
curl http://localhost:8080/api/ Client sent an HTTP request to an HTTPS server.
curl --insecure https://localhost:8080/api/ { "kind": "Status", "apiVersion": "v1", "metadata": {}, "status": "Failure", "message": "forbidden: User \"system:anonymous\" cannot get path \"/api/\"", "reason": "Forbidden", "details": {}, "code": 403 }%
Contents
Errors[edit]
curl https://localhost:8080/api/ curl: (60) SSL certificate problem: unable to get local issuer certificate More details here: https://curl.se/docs/sslcerts.html curl failed to verify the legitimacy of the server and therefore could not establish a secure connection to it. To learn more about this situation and how to fix it, please visit the web page mentioned above.
Related[edit]
Activities[edit]
See also[edit]
- Kubernetes API, Kubernetes API server, EKS API,
apiVersion:, kubectl api-resources, kubectl api-versions, kind:
, Kubernetes API endpoint, 6443, 10250 (kubelet)kube-apiserver
, /etc/kubernetes/manifests/kube-apiserver.yaml,valueFrom, /var/log/kube-apiserver.log, /api/v1/, k8s.io
- cURL,
curl -s
,-X, -x
,curl -T
,curl --help
,curl -L, curl -m
,curl -o
,curl -X POST
,curl -d
,curl --header
,curl -I
,curl --silent
,curl -Is
,curl -k or curl --insecure, curl -XPUT, curl -d
,~/.curlrc, curl -i, curl --version, curl --help
Advertising: