Kaynağa Gözat

Corrected HTTP verb in API docs

Jeremy Stretch 8 yıl önce
ebeveyn
işleme
3d92669df5
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      docs/api/overview.md

+ 1 - 1
docs/api/overview.md

@@ -6,7 +6,7 @@ REST stands for [representational state transfer](https://en.wikipedia.org/wiki/
 
 
 * `GET`: Retrieve an object or list of objects
 * `GET`: Retrieve an object or list of objects
 * `POST`: Create an object
 * `POST`: Create an object
-* `UPDATE`: Modify an existing object
+* `PUT` / `PATCH`: Modify an existing object
 * `DELETE`: Delete an existing object
 * `DELETE`: Delete an existing object
 
 
 The NetBox API represents all objects in [JavaScript Object Notation (JSON)](http://www.json.org/). This makes it very easy to interact with NetBox data on the command line with common tools. For example, we can request an IP address from NetBox and output the JSON using `curl` and `jq`. (Piping the output through `jq` isn't strictly required but makes it much easier to read.)
 The NetBox API represents all objects in [JavaScript Object Notation (JSON)](http://www.json.org/). This makes it very easy to interact with NetBox data on the command line with common tools. For example, we can request an IP address from NetBox and output the JSON using `curl` and `jq`. (Piping the output through `jq` isn't strictly required but makes it much easier to read.)