mirror of
https://github.com/netbox-community/netbox.git
synced 2025-09-06 14:23:36 -06:00
Correct API URL
This commit is contained in:
parent
1587600671
commit
881bf3d15f
@ -620,7 +620,7 @@ For example, the following API request will create a new site and record a messa
|
|||||||
curl -s -X POST \
|
curl -s -X POST \
|
||||||
-H "Authorization: Token $TOKEN" \
|
-H "Authorization: Token $TOKEN" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
http://netbox/api/dcim/site/ \
|
http://netbox/api/dcim/sites/ \
|
||||||
--data '{
|
--data '{
|
||||||
"name": "Site A",
|
"name": "Site A",
|
||||||
"slug": "site-a",
|
"slug": "site-a",
|
||||||
|
Loading…
Reference in New Issue
Block a user