diff --git a/README.md b/README.md index 7e6d749..48bdfa0 100644 --- a/README.md +++ b/README.md @@ -113,11 +113,11 @@ e.g: - Link a device - `curl -X POST -H "Content-Type: application/json" 'http://127.0.0.1:8080/v1/qrcodelink?'` + `curl -X GET -H "Content-Type: application/json" 'http://127.0.0.1:8080/v1/qrcodelink?device_name='` e.g: - `curl -X POST -H "Content-Type: application/json" 'http://127.0.0.1:8080/v1/qrcodelink?HomeAssistant'` + `curl -X GET -H "Content-Type: application/json" 'http://127.0.0.1:8080/v1/qrcodelink?device_name=HomeAssistant'` This provides a QR-Code image. In case of an error a JSON object will be returned.