Top "Spray" questions

spray is an open-source toolkit for building REST/HTTP-based integration layers on top of Scala and Akka.

akka-http: How to set response headers

I've a route as follows: val route = { logRequestResult("user-service") { pathPrefix("user") { get { respondWithHeader(RawHeader("Content-Type", "application/json")) { parameters("firstName".?, "lastName".?).…

scala routes akka spray akka-http
why do I get "The requested resource could not be found." when accessing simple spray route?

I tried a simple spray example app and i cannot access the route, I uploaded the example source code which …

scala spray spray-dsl
Get form parameters from a post request using spray/scala

I'm really new with all this Scala/Spray. With some testing I was able to get parameters from a Get …

scala post akka spray
Scala parameters pattern (Spray routing example)

Sorry about the vague title...wasn't sure how to characterize this. I've seen/used a certain code construction in Scala …

scala spray shapeless
Write a simple json REST server using spray in scala

I want to implement a simple json REST server using spray in scala that supports the following routes: GET /foo =&…

json scala spray