Hi Matthieu, Akka HTTP's low level is what it is – low level :-) No, we don't provide any routing capabilities like this in the low level api.
Why don't you want to use the high level routing DSL? It has nice support for those things built in. If it's not an option, you can parse the Uri and extract it manually or... What you seem to be after looks more like what Play does, so give Play a look perhaps. -- Cheers, Konrad 'ktoso’ Malawski Akka @ Typesafe On 15 February 2016 at 11:57:47, Matthieu Ravey (ravey.m...@gmail.com) wrote: Hi, I'm trying to figure out of to extract part of an URL with the low level API. Basically what I'd like to do is: val requestHandler: HttpRequest => HttpResponse = { case HttpRequest(GET, Uri.Path("/my_path/:parameter"), _, _, _) => HttpResponse(StatuCodes.OK) } and then have access to parameter. Is it possible to do this with the low level API ? Thanks -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to akka-user+unsubscr...@googlegroups.com. To post to this group, send email to akka-user@googlegroups.com. Visit this group at https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout. -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to akka-user+unsubscr...@googlegroups.com. To post to this group, send email to akka-user@googlegroups.com. Visit this group at https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.