Maybe look here?
It might be possible to click the frontend button via selenium. I haven't tried it yet, but that might work for getting frontend calls on the backend.