Hi there ,
I have a use case. Here is an akka-http route.

get {
      pathPrefix("someRoute") {
        pathEndOrSingleSlash {
          getFromResource("index.html")
        }
      } }

my index.html is as follows
<!DOCTYPE html>
<html>
<head>
  <script type="text/javascript">
      alert('QUERY PARMS : '+window.location.search)
  </script>
</head>
</html>

When I call index.html from browser 
file:///[email protected]
Here I got alert
*"*QUERY PARMS : [email protected]*"*



*Is there any way in akka-http so that I can supply some dynamic query 
parameters while loading index.html?*
Thanks in advance!!

-- 
>>>>>>>>>>      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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to