From 17e5e03f259c6ac4ae7af8a32e359da79d9ae52d Mon Sep 17 00:00:00 2001 From: cdlliuy Date: Fri, 10 Aug 2018 07:16:46 +0800 Subject: [PATCH] wrong sample request in docs (#374) --- docs/Public_API.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/Public_API.rst b/docs/Public_API.rst index 74f2da75b..705a7491a 100644 --- a/docs/Public_API.rst +++ b/docs/Public_API.rst @@ -532,7 +532,8 @@ cURL | curl "https://[the-api-server-url]:[port]/v1/apps/8d0cee08-23ad-4813-a779-ad8118ea0b91/policy" \\ | -d @policy.json \\ - | -X POST \\ + | -X PUT \\ + | -H "Content-Type: application/json" | -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI5MSIsImVtYWlsIjoiZW1haWwtMTk0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDU1NTc5NTd9.p3cHAMwwVASl1RWxrQuOMLYRZRe4rTbaIH1RRux3Q5Y" Response