How to expose REST service for JSON?
Asked Answered
S

1

11

I need to expose a Spray service that accepts JSON payload. Where can I find a sample that would demonstrate such a feature?

Synapse answered 11/4, 2013 at 21:18 Comment(0)
J
13

When I started learning Spray I used this awesome sample project. It shows you how to structure your application and much more.

If you want to have a look at how it uses spray-json at the route level, then take a look at this example.

Hope it helps! (kudos to Jacobus for S4)

Johnson answered 1/5, 2013 at 8:28 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.