Callback for generic httpservice