Guest User

Untitled

a guest
Aug 2nd, 2016
268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1.  
  2. def getSessionKey = Action.async {
  3. ws.url(URL).post(POST).map{ request =>
  4. val parts = request.body.split(",")
  5. val sessionKey = someResult
  6. val sessionValue = someString
  7. Ok(request.body)
  8. }
  9. }
  10.  
  11. def getArguments(sessionValue:String) =Action.async {
  12.  
  13. >>get sessionValue for this method
  14. Ok(request.body)
  15. }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment