浏览代码

Correct API accounts actions http method

Yann 7 年之前
父节点
当前提交
581d62ea77
共有 1 个文件被更改,包括 6 次插入6 次删除
  1. 6 6
      Using-the-API/API.md

+ 6 - 6
Using-the-API/API.md

@@ -110,22 +110,22 @@ Returns an array of [Statuses](#status).
 
 #### Following/unfollowing an account:
 
-    GET /api/v1/accounts/:id/follow
-    GET /api/v1/accounts/:id/unfollow
+    POST /api/v1/accounts/:id/follow
+    POST /api/v1/accounts/:id/unfollow
 
 Returns the target [Account](#account).
 
 #### Blocking/unblocking an account:
 
-    GET /api/v1/accounts/:id/block
-    GET /api/v1/accounts/:id/unblock
+    POST /api/v1/accounts/:id/block
+    POST /api/v1/accounts/:id/unblock
 
 Returns the target [Account](#account).
 
 #### Muting/unmuting an account:
 
-    GET /api/v1/accounts/:id/mute
-    GET /api/v1/accounts/:id/unmute
+    POST /api/v1/accounts/:id/mute
+    POST /api/v1/accounts/:id/unmute
 
 Returns the target [Account](#account).