Demonstrating this system is done using Postman, as explained in the following sections.
Demonstrating Saber
Submitting to the Register Taxi endpoint
In the following Postman, a POST request is sent to the URL http://localhost/taxis with this body:
{
"taxiType":"NANO"
}
When the Send button is pressed, a JSON of a map with taxiId will be returned back, along with the HTTP status code 200:
Submitting location to update Taxi Location endpoint
In the following Postman, a PUT request is sent to the URL http://localhost:8080/taxis/<TaxiId>...