diff --git a/docs/Public_API.rst b/docs/Public_API.rst index feaeda288..17d54f634 100644 --- a/docs/Public_API.rst +++ b/docs/Public_API.rst @@ -1109,7 +1109,7 @@ Status Route ''''' - PUT /v1/apps/:guid/metrics + POST /v1/apps/:guid/metrics Body '''' diff --git a/docs/Readme.md b/docs/Readme.md index 51390764c..d884f481d 100644 --- a/docs/Readme.md +++ b/docs/Readme.md @@ -257,7 +257,7 @@ With the user-provided-service aproach, you can consume the credential from VCAP You need to emit your own metric for scaling to the "URL" specified in credential JSON file with below API endpoint. ``` -PUT /v1/apps/:guid/metrics +POST /v1/apps/:guid/metrics ``` A JSON payload is required with above API to submit metric name, value and the correspondng instance index.