Requests - Rocket Programming Guide
https://rocket.rs/v0.4/guide/requests/
Notice the rank parameters in user_int and user_str.If we run this application with the routes mounted at the root path, as is done in main above, requests to /user/<id> (such as /user/123, /user/Bob, and so on) will be routed as follows:. The user route matches first. If the string at the <id> position is an unsigned integer, then the user handler is called.
DA: 75 PA: 51 MOZ Rank: 48 Up or Down: Up