readme code blocks

This commit is contained in:
Helva 2026-01-30 23:55:40 +01:00
parent a05a943af2
commit 9ed7e1a255
1 changed files with 5 additions and 4 deletions

View File

@ -33,12 +33,13 @@ We build a robot with raspberry and arduino.
sudo systemctl restart nginx
### Test Face Server
In Browser: http://<pi-ip>/
In Browser:
http://pi-ip/
From Somewhere:
curl -X POST http://<pi-ip>/api/emotion/happy
curl -X POST http://<pi-ip>/api/emotion/angry
curl -X POST http://<pi-ip>/api/emotion/sleepy
curl -X POST http://pi-ip/api/emotion/happy
curl -X POST http://pi-ip/api/emotion/angry
curl -X POST http://pi-ip/api/emotion/sleepy
### systemd Service
sudo ln -s /opt/helva-robot/face/etc/systemd/system/face.service /etc/systemd/system/