Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- val request = Http(finalReq OK as.String)
- request.flatMap(json => {
- Future {
- json
- }
- }) onComplete {
- case Success(response) => println(response)
- case Failure(e) => println(e)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement