bulk and single http insertion