Your teach may intend for you to do it a hard way, but the trivial way
is use the dispatch system:
http://docs.racket-lang.org/web-server/dispatch.html
The first example is more than you need. I suggest asking your teacher
if they had something more complicated (and instructive) in mind
though.
I am doing a university project and need to create a server racket. The purpose
of this server is that from a URL we perform following function, eg:
http: // localhost: 8080 / fibonacci / 10
So when I access this URL, I need to get the string "fibonacci" and the value
10 so you can call the fib
2 matches
Mail list logo