From bfbae3410ffd357bb4d815becfe6d198a9c4d6f7 Mon Sep 17 00:00:00 2001 From: Manabu Niseki Date: Wed, 18 Sep 2019 15:07:36 +0900 Subject: [PATCH] Fix wrong HTTP method --- automation/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/automation/README.md b/automation/README.md index 277b89d..c1d39b0 100644 --- a/automation/README.md +++ b/automation/README.md @@ -549,7 +549,7 @@ curl --header "Authorization: a4PLf8QICdDdOmFjwdtSYqkCqn9CvN0VQt7mpUUf " --heade ~~~~ -### GET /attributes/delete/ +### POST /attributes/delete/ #### Description @@ -570,18 +570,18 @@ Delete attributes. #### Example ~~~~ -curl --header "Authorization: YOUR API KEY" --header "Accept: application/json" --header "Content-Type: application/json" https:///attributes/delete/12345 +curl -X POST --header "Authorization: YOUR API KEY" --header "Accept: application/json" --header "Content-Type: application/json" https:///attributes/delete/12345 ~~~~ ~~~~ -curl --header "Authorization: a4PLf8QICdDdOmFjwdtSYqkCqn9CvN0VQt7mpUUf " --header "Accept: application/json" --header "Content-Type: application/json" http://10.50.13.60/attributes/delete/548847db-060c-4275-a0c7-15bb950d210b +curl -X POST --header "Authorization: a4PLf8QICdDdOmFjwdtSYqkCqn9CvN0VQt7mpUUf " --header "Accept: application/json" --header "Content-Type: application/json" http://10.50.13.60/attributes/delete/548847db-060c-4275-a0c7-15bb950d210b ~~~~ Hard delete: ~~~~ -curl --header "Authorization: YOUR API KEY" --header "Accept: application/json" --header "Content-Type: application/json" https:///attributes/delete/12345/1 +curl -X POST --header "Authorization: YOUR API KEY" --header "Accept: application/json" --header "Content-Type: application/json" https:///attributes/delete/12345/1 ~~~~