mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Update index.md (#14178)
Added a missing space in front oh the "-H 'X-Auth...". The missing space causes the curl command not to work
This commit is contained in:
@@ -55,7 +55,7 @@ combination of two or three of these.
|
||||
updating information via the API, for instance adding a new device:
|
||||
|
||||
```curl
|
||||
curl -X POST -d '{"hostname":"localhost.localdomain","version":"v1","community":"public"}'-H 'X-Auth-Token: YOURAPITOKENHERE' https://librenms.org/api/v0/devices
|
||||
curl -X POST -d '{"hostname":"localhost.localdomain","version":"v1","community":"public"}' -H 'X-Auth-Token: YOURAPITOKENHERE' https://librenms.org/api/v0/devices
|
||||
```
|
||||
|
||||
## Output
|
||||
|
Reference in New Issue
Block a user