8 lines
266 B
Bash
Executable File
8 lines
266 B
Bash
Executable File
clear
|
|
|
|
# We move the table with id 6 from room 3 to room 1, rename it to 12
|
|
curl -X PUT -H 'Content-Type: application/json' -d '{"id":6,"name":12,"max_people":6,"room":"Room 1"}' localhost:8080/table --silent
|
|
|
|
# Now there are an equal number of tables in each room
|
|
|