Edit curl execute method.