Sending outgoing HTTP request from Akka / Scala

I know how to handle incoming http requests in Akka, but I want my Akka-based web application to also communicate with Facebook and CouchDB via the HTTP API, sending outgoing calls. Is there any good practice? Should calls be asynchronous?

+3
source share
2 answers

For Couch Debasish there is SCouchDB: https://github.com/debasishg/scouchdb

Regarding conversations with Facebook, I don’t know, but if you want to make asynchronous outgoing http calls, you can try: https://github.com/AsyncHttpClient/async-http-client

Does it help?

+4
source

Some time ago, I posted a sample WebGL application using Akka, which talked to Facebook and Google Maps. This is nothing special, but it can help. You can find it here: https://github.com/dsciamma/fbgl1

+3
source

Source: https://habr.com/ru/post/1444874/


All Articles