Difference between revisions of "Curl http://localhost:8080/api/"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
[[curl --insecure]] https://localhost:8080/api/ | [[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 | ||
+ | }% | ||
Revision as of 18:33, 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 }%
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
See also
- 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: