Fix curl Unauthorized on windows (#3381)
This commit is contained in:
parent
46a34266df
commit
ad34a05857
|
@ -71,7 +71,7 @@ An OpenSearch node in its default configuration (with demo certificates and user
|
|||
1. Open a new command prompt and send requests to the server to verify that OpenSearch is running. Note the use of the `--insecure` flag, which is required because the TLS certificates are self-signed.
|
||||
- Send a request to port 9200:
|
||||
```bat
|
||||
curl.exe -X GET https://localhost:9200 -u 'admin:admin' --insecure
|
||||
curl.exe -X GET https://localhost:9200 -u "admin:admin" --insecure
|
||||
```
|
||||
You should get a response that looks like this:
|
||||
```bat
|
||||
|
@ -95,7 +95,7 @@ An OpenSearch node in its default configuration (with demo certificates and user
|
|||
```
|
||||
- Query the plugins endpoint:
|
||||
```bat
|
||||
curl.exe -X GET https://localhost:9200/_cat/plugins?v -u 'admin:admin' --insecure
|
||||
curl.exe -X GET https://localhost:9200/_cat/plugins?v -u "admin:admin" --insecure
|
||||
```
|
||||
|
||||
The response should look like this:
|
||||
|
|
Loading…
Reference in New Issue