Reputation: 198228
I'm new to lift, and now I want to visit an external http api, post some data and get the JSON data back.
The information is:
url: http://mytest.com/login
method: post
accept: application/json
params: {
"username":"username",
"password":"password"
}
response: {
"result":"ok/failed",
"message":"welcome/failure reason"
}
Since this is a lift project, and you know lift has provided many useful libraries. I wonder if lift has provided some functions to do this?
If not, is it any other good scala libraries I can use? Or do I have to use apache's java http-client library?
Upvotes: 0
Views: 666