Browse Source

Update API.md

Alex 4 years ago
parent
commit
af9920c6f4
1 changed files with 2 additions and 0 deletions
  1. 2 0
      docs/API.md

+ 2 - 0
docs/API.md

@@ -153,6 +153,7 @@ In general, requests will take the format of `curl -H "Authorization: Bearer <YO
 The Server Mgmt. API allows you to add and remove the server from networks.
 
 **Add to Network:** `/api/server/addnetwork/{network id}`, `POST`  
+  
 **Remove from Network:** `/api/server/removenetwork/{network id}`, `DELETE`  
 
 **Add to Network:**  `curl -X POST -H "authorization: Bearer YOUR_SECRET_KEY" localhost:8081/api/server/addnetwork/{network id}`
@@ -160,6 +161,7 @@ The Server Mgmt. API allows you to add and remove the server from networks.
 **Remove from Network:** `curl -X DELETE -H "authorization: Bearer YOUR_SECRET_KEY" localhost:8081/api/server/removenetwork/{network id}`
 
 ## FILE SERVER
+  
 **Get File:** `/meshclient/files/{filename}`, `GET`
   
 **Example:**  `curl localhost:8081/meshclient/files/meshclient`