Update @http call to fix deprecation warning