Files
time-cafe-web-app/cmd/021_POST_Booking.sh
T

5 lines
281 B
Bash
Raw Normal View History

2026-07-12 13:47:34 +04:00
clear
# We will create the first booking for the very first table with a reservation for 1 hour
curl -X POST -H 'Content-Type: application/json' -d '{"id_tables":1,"reservation":"2000-01-01T12:00:00Z","time_reserve":"01:00","who_booked":"Ivan 1"}' localhost:8080/booking --silent