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:
![](https://static.packt-cdn.com/products/9781789136159/graphics/assets/1d8a6bb4-8abd-43fe-833b-2e35e8d82615.png)
Submitting location to update Taxi Location endpoint
In the following Postman, a PUT request is sent to the URL http://localhost:8080/taxis/<TaxiId>...