From c97d2b59381e1a18895de1d156564a86217e240b Mon Sep 17 00:00:00 2001 From: ShotaTanemura Date: Fri, 12 Apr 2024 13:21:19 +0900 Subject: [PATCH] M5Stick send a request to 42AssociationWebserver to try to add a new user --- src/please_put_your_card.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/please_put_your_card.ino b/src/please_put_your_card.ino index 96944d1..9a2b0ba 100644 --- a/src/please_put_your_card.ino +++ b/src/please_put_your_card.ino @@ -54,11 +54,11 @@ void loop() } String uid = get_uid(); M5.Speaker.tone(SPEAKER_FREQUENCY, SPEAKER_DURATION, 1); - String getUrl = serverName + uid; + String getUrl = serverName + "/new?uid=" + uid; if (displayText) display_qr_code_and_time(getUrl); else display_uid_and_time(uid); delay(DISPLAY_DELAY); M5.Lcd.fillScreen(BLACK); -} \ No newline at end of file +}