[akka-user] How to map unstructured Json to a case class in Akka-Http

2017-05-13 Thread vishal . verma
I am trying to create the REST service using akka Http and slick . I am trying to persist the Raw json in the MySql table in string format or BLOB format whichever can solve my problem. The point where I am facing issues is Every time I try to store the Json via akka http routes , It throws

[akka-user] Akka http -ERROR :Substream Source cannot be materialized more than once If Payload size increased

2017-07-09 Thread vishal . verma
down votefavorite I am working with Akka Http, where I have defined a route as val route = (path(HttpConstants.CreateJob) & post) { (entity(as[JobDetails

[akka-user] Re: Akka http -ERROR :Substream Source cannot be materialized more than once If Payload size increased

2017-07-09 Thread vishal . verma
I came across the post that says akka flushes the entity if not declated strict, If thats right can any one help me as to how do i declare my jobDetailsEntity as `strict ` On Sunday, July 9, 2017 at 9:14:14 PM UTC+5:30, vishal...@exadatum.com wrote: > > > > down votefavorite >

[akka-user] Akka HTTP Ajax call with parameters

2017-11-15 Thread vishal . verma
I am working with a use case where I need to make a call to Azkaban via AJAX APi provided by Azkaban which is like curl -k -X POST --data "session.id=9089beb2-576d-47e3-b040-86dbdc7f523e&name=&description=11" https://localhost:8443/manager?action=create Now how using akka HTTP rest service

[akka-user][deprecated] Passing Headers in Akka http route test

2018-03-27 Thread vishal . verma
I am working on the the securing the http routes created with akka-http using the authentication token, which is passed as header and on authenticated the route is rejected or accepted . val routes: Route = corsHandler(route) lazy val route: Route = pathPrefix(HttpConstants.PathPerfix /