Section V - executable

Since thetdg-service.rs endpoint is simply a wrapper the routes to the module's functions, we don't need to make any changes in this file.

Restart the web service (cargo run) and run the curl-tdg.sh script multiple times.

ArchConfWorkshopUser:~/environment $ ./scripts/curl-tdg.sh 
Abrin
ArchConfWorkshopUser:~/environment $ ./scripts/curl-tdg.sh 
Abry
ArchConfWorkshopUser:~/environment $ ./scripts/curl-tdg.sh 
Abby
ArchConfWorkshopUser:~/environment $ ./scripts/curl-tdg.sh 
Abry
ArchConfWorkshopUser:~/environment $ ./scripts/curl-tdg.sh 
Abby
ArchConfWorkshopUser:~/environment $ ./scripts/curl-tdg.sh 
Abbin
circle-exclamation

Last updated