Post from Action to external url

Is it possible to post to an outside url with something like akka-http ?

You can use any library you like for calling external services.

Except for gRPC calls there is not built in APIs in the SDKs for such calls.

If you specifically want to use Akka HTTP, there are currently no public APIs intended to give you access to the internal ActorSystem that the SDK uses so you will have to create your own ActorSystem in the main/bootstrap method of your app and inject it into each service that needs it via the constructor of the concrete action class.

1 Like