From 63b772c14c9613619bc8059d7c3f7d3f45fc145f Mon Sep 17 00:00:00 2001 From: Bernhard B Date: Sun, 28 Jun 2020 17:58:43 +0200 Subject: [PATCH] fixed small typo in README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.