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:
Jarod2801
2022-08-05 01:00:55 +02:00
committed by GitHub
parent 02400e66cd
commit 176cb0cf48

View File

@@ -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