In the building web example in the book we have these 2 lines for illustration:
let get = b"GET / HTTP/1.1\r\n"; let sleep = b"GET /sleep HTTP/1.1\r\n";
What if I wanted to get variable parameter like:
let book = b"GET /book/<country>/<category> HTTP/1.1\r\n";
<category> are variable depending on what the user enter.
I know there are frameworks that do this for me, but interested in understanding it without using other crate.