Skip to content

Commit c9ba9e2

Browse files
committed
apm-server: Remove POST from server information API docs
1 parent 8f19196 commit c9ba9e2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

solutions/observability/apps/apm-server-information-api.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ This is the server information endpoint:
1616
http(s)://{hostname}:{port}/
1717
```
1818

19-
Sending an `HTTP GET` or `HTTP POST` request to the server information endpoint will return an HTTP 200, indicating that the server is up.
19+
Sending an `HTTP GET` request to the server information endpoint will return an HTTP 200, indicating that the server is up.
2020

2121
To configure authenticated access to the APM server, the instructions at [APM API key](api-keys.md) or [APM Secret Token](secret-token.md), must be followed to configure the correct permissions for APM access.
2222

23-
If an [API keys](api-keys.md) or a [Secret token](secret-token.md) is passed along with the `HTTP GET` or `HTTP POST` request, in addition to an HTTP 200, the response payload will include some information about the APM server.
23+
If an [API keys](api-keys.md) or a [Secret token](secret-token.md) is passed along with the `HTTP GET` request, in addition to an HTTP 200, the response payload will include some information about the APM server.
2424

2525

2626
### Example: GET, without credentials [apm-api-info-example-get-without-credentials]
@@ -48,12 +48,12 @@ curl --verbose -X GET http://127.0.0.1:8200
4848
```
4949
5050
51-
### Example: POST, with secret token [apm-api-info-example-post-with-secret-token]
51+
### Example: GET, with secret token [apm-api-info-example-get-with-secret-token]
5252
53-
Example APM Server information request with POST, with a [Secret token](secret-token.md):
53+
Example APM Server information request with GET, with a [Secret token](secret-token.md):
5454
5555
```sh
56-
curl -X POST http://127.0.0.1:8200/ \
56+
curl -X GET http://127.0.0.1:8200/ \
5757
-H "Authorization: Bearer secret_token"
5858

5959
{

0 commit comments

Comments
 (0)