When running the command:
$ curl http://127.0.0.1:8000/api/owner/{id}
After following the instructions I get the following result:
[guy@fedora rust]$ curl http://127.0.0.1:8000/api/owner/d7784aa3-b3af-4efa-839d-36f9e27ace44
{"owner_id":"d7784aa3-b3af-4efa-839d-36f9e27ace44","address":"home","name":"orngsxsp"}
This is different from what is stated as the expected result in the Docs:
[{"address":"home","age":57,"name":"tlmodylu","owner_id":"a05fd0df-0f97-4eec-a211-cad28a6e5360","pet_id":"a52adc4e-7cf4-47ca-b561-3ceec9382917","weight":5}]
I would like to report an issue in page https://iot.scylladb.com/master/build-with-rust
Problem
When running the command: $ curl http://127.0.0.1:8000/api/owner/{id} After following the instructions I get the following result: [guy@fedora rust]$ curl http://127.0.0.1:8000/api/owner/d7784aa3-b3af-4efa-839d-36f9e27ace44 {"owner_id":"d7784aa3-b3af-4efa-839d-36f9e27ace44","address":"home","name":"orngsxsp"} This is different from what is stated as the expected result in the Docs: [{"address":"home","age":57,"name":"tlmodylu","owner_id":"a05fd0df-0f97-4eec-a211-cad28a6e5360","pet_id":"a52adc4e-7cf4-47ca-b561-3ceec9382917","weight":5}]
Suggest a fix
Understand why the results are different